Difference between revisions of "LlGetVisualParams"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "{{LSL_Function |inject-2= {{LSL_Function/limits}}{{LSL_Function/uuid|id|sim=*}} ||func_sleep=0.0|func_energy=10.0 |func=llGetVisualParams |p1_type=key|p1_name=agentid|p1_desc=...")
 
 
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|inject-2=
|inject-2=
{{LSL_Function/limits}}{{LSL_Function/uuid|id|sim=*}}
{{LSL_Function/uuid|id|sim=*}}
||func_sleep=0.0|func_energy=10.0
||func_sleep=0.0|func_energy=10.0
|func=llGetVisualParams
|func=llGetVisualParams
Line 23: Line 23:
|examples=
|examples=
|spec
|spec
|constants= {{LSL Constants/Visual Parameters}}
|constants= {{LSL Constants/Visual Params}}
|helpers
|helpers
|also_functions
|also_functions

Latest revision as of 08:23, 18 April 2022

Summary

Function: list llGetVisualParams( key agentid, list params );
0.0 Forced Delay
10.0 Energy

Returns a list of the details for agentid requested in params.

• key agentid Avatar ID in the same region.
• list params List of visual param ids or names.

An empty list if agentid is not found. An empty string, "", is returned in the place of any invalid or unknown visual parameter.

Specification

agentid Parameter

agentid holds the UUID of the avatar this function will get the visual parameters for.

params Parameter

The params list is used to indicate the visual parameters of interest. The order they are supplied in determines the order of the corresponding return values in the return list.

  • If params contains unsupported or unknown parameters, an empty string is placed in the output list.

Param ID Param Name Description
33 height
38 torso_length
80 male
198 heel_height
503 platform_height
616 shoe_height
675 hand_size
682 head_size
692 leg_length
693 arm_length
756 neck_length
814 waist_height
842 hip_length
11001 hover

Examples

Deep Notes

Signature

function list llGetVisualParams( key agentid, list params );