Difference between revisions of "ExtraParams"

From Second Life Wiki
Jump to navigation Jump to search
m ({{ProtocolNav}}, + Category:Messages)
Line 5: Line 5:
! Param
! Param
! Hex ID
! Hex ID
! Bytes
! Contents  
! Contents  
|-
|-
| Flexible
| Flexible
| {{LSL Hex|0x10|}}
| {{LSL Hex|0x10|}}
| 16
| U8 tension, U8 drag, U8 gravity, U8 wind, Vector3 userforce
| U8 tension, U8 drag, U8 gravity, U8 wind, Vector3 userforce
|-
|-
| 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
|-
|-
| Sculpted
| Sculpted
| {{LSL Hex|0x30|}}
| {{LSL Hex|0x30|}}
| 17
| UUID texture, U8 type
| UUID texture, U8 type
|-
|-
| Light Image (pending)  
| Light Image (pending)  
| {{LSL Hex|0x40|}}
| {{LSL Hex|0x40|}}
| 28
| UUID texture, Vector3 params (FOV, focus, ambiance)
| UUID texture, Vector3 params (FOV, focus, ambiance)
|}
|}


[[Category:Messages]]
[[Category:Messages]]

Revision as of 14:52, 22 June 2009

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
Flexible 0x10 16 U8 tension, U8 drag, U8 gravity, U8 wind, Vector3 userforce
Light 0x20 16 Color4u color, F32 radius, F32 cutoff, F32 falloff
Sculpted 0x30 17 UUID texture, U8 type
Light Image (pending) 0x40 28 UUID texture, Vector3 params (FOV, focus, ambiance)