Difference between revisions of "ExtraParams"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Used in [[ObjectUpdate]] messages, a "ExtraParam" block contains extra data for specialized prims such as lights, sculpted prims, and flexible objects
{{ProtocolNav}}Used in [[ObjectUpdate]] messages, a "ExtraParam" block contains extra data for specialized prims such as lights, sculpted prims, and flexible objects.  Support for projected light textures is pending.


{| class="sortable" {{Prettytable}}
{| class="sortable" {{Prettytable}}
Line 5: Line 5:
! Param
! Param
! Hex ID
! Hex ID
! Bytes
! Contents  
! Contents  
! LSL Exposure
|-
|-
| Flexible
| [[Flexible]]
| {{LSL Hex||0x10}}
| {{LSL Hex|0x10|}}
| U8 tension, U8 drag, U7 gravity, U8 wind, Vector3 userforce
| 16
| U8 tension, U8 drag, U8 gravity, U8 wind, Vector3 userforce
| [[PRIM_FLEXIBLE]]
|-
|-
| Light
| [[Light]]
| {{LSL Hex||0x20}}
| {{LSL Hex|0x20|}}
| 16
| Color4u color, F32 radius, F32 cutoff, F32 falloff
| Color4u color, F32 radius, F32 cutoff, F32 falloff
| [[PRIM_POINT_LIGHT]]
|-
|-
| Sculpted
| [[Sculpted]]
| {{LSL Hex||0x30}}
| {{LSL Hex|0x30|}}
| 17
| UUID texture, U8 type
| UUID texture, U8 type
| [[PRIM_TYPE_SCULPT]]
|-
|-
| Light Image (pending)  
| [[Deferred_Rendering_Test#Deferred_rendering_-_projectors|Light Image (pending)]]
| {{LSL Hex||0x40}}
| {{LSL Hex|0x40|}}
| 28
| UUID texture, Vector3 params (FOV, focus, ambiance)
| UUID texture, Vector3 params (FOV, focus, ambiance)
| {{Jira|SVC-6538}}
|}
|}
[[Category:Messages]]

Latest revision as of 13:48, 3 December 2010

Used in ObjectUpdate messages, a "ExtraParam" block contains extra data for specialized prims such as lights, sculpted prims, and flexible objects. Support for projected light textures is pending.

Param Hex ID Bytes Contents LSL Exposure
Flexible 0x10 16 U8 tension, U8 drag, U8 gravity, U8 wind, Vector3 userforce PRIM_FLEXIBLE
Light 0x20 16 Color4u color, F32 radius, F32 cutoff, F32 falloff PRIM_POINT_LIGHT
Sculpted 0x30 17 UUID texture, U8 type PRIM_TYPE_SCULPT
Light Image (pending) 0x40 28 UUID texture, Vector3 params (FOV, focus, ambiance) SVC-6538