Difference between revisions of "ExtraParams"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
! Bytes | ! Bytes | ||
! Contents | ! Contents | ||
! LSL Exposure | |||
|- | |- | ||
| Flexible | | Flexible | ||
Line 12: | Line 13: | ||
| 16 | | 16 | ||
| U8 tension, U8 drag, U8 gravity, U8 wind, Vector3 userforce | | U8 tension, U8 drag, U8 gravity, U8 wind, Vector3 userforce | ||
| [[PRIM_FLEXIBLE]] | |||
|- | |- | ||
| Light | | Light | ||
Line 17: | Line 19: | ||
| 16 | | 16 | ||
| Color4u color, F32 radius, F32 cutoff, F32 falloff | | Color4u color, F32 radius, F32 cutoff, F32 falloff | ||
| [[PRIM_POINT_LIGHT]] | |||
|- | |- | ||
| Sculpted | | Sculpted | ||
Line 22: | Line 25: | ||
| 17 | | 17 | ||
| UUID texture, U8 type | | UUID texture, U8 type | ||
| [[PRIM_TYPE_SCULPT]] | |||
|- | |- | ||
| Light Image (pending) | | Light Image (pending) |
Revision as of 21:04, 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 | 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) |