Difference between revisions of "LlGetPrimMediaParams"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with '{{LSL_Generic/pre-release|function|server-release=1.33.0|client-release=1.24.4}}{{LSL_Function/face|face}}{{LSL_Function |func_id=351|func_sleep=1.0|func_energy=10.0|mode |func=l...')
 
m
Line 1: Line 1:
{{LSL_Generic/pre-release|function|server-release=1.33.0|client-release=1.24.4}}{{LSL_Function/face|face}}{{LSL_Function
{{LSL_Generic/pre-release|function|server-release=1.33.0|client-release=1.24.4}}{{LSL_Function/face|face}}{{LSL_Function
|func_id=351|func_sleep=1.0|func_energy=10.0|mode
|func_id=351|func_sleep=1.0|func_energy=10.0|mode
|func=llSetPrimMediaParams|return_type=integer
|func=llGetPrimMediaParams|return_type=integer
|p1_type=integer|p1_name=face|p1_desc
|p1_type=integer|p1_name=face|p1_desc
|p2_type=list|p2_name=params|p2_desc=a set of name (in no particular order)
|p2_type=list|p2_name=params|p2_desc=a set of name (in no particular order)

Revision as of 13:56, 19 October 2009

Emblem-important-red.png Pre-release Documentation Warning!

This function is not available yet. This documentation was written prior to its final release so it may not match the final implementation.It is slated for release in Server 1.33.0 and Client 1.24.4.

Summary

Function: integer llGetPrimMediaParams( integer face, list params );

Get the media params for a particular face on an object, given the desired list of names.
Returns an integer of values in the order requested.

• integer face face number or ALL_SIDES
• list params a set of name (in no particular order)

If face is ALL_SIDES then the function works on all sides. Returns an empty list if no media exists on the face.

Template:LSL Function/prim-media

Caveats

  • This function causes the script to sleep for 1.0 seconds.
  • The function silently fails if its face value indicates a face that does not exist.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llSetPrimMediaParams
•  llClearPrimMedia

Deep Notes

History

Search JIRA for related Issues

Signature

function integer llGetPrimMediaParams( integer face, list params );