ViewerEffect: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| Line 2: | Line 2: | ||
==Message Layout== | ==Message Layout== | ||
<pre width=80> | <pre width=80> | ||
ViewerEffect Medium 17 NotTrusted Zerocoded | |||
{ | |||
AgentData Single | |||
{ AgentID LLUUID } | |||
{ SessionID LLUUID } | |||
} | |||
{ | |||
Effect Variable | |||
{ ID LLUUID } // unique UUID of the effect | |||
{ AgentID LLUUID } // yes, pack AgentID again (note this block is variable) | |||
{ Type U8 } // Type of the effect | |||
{ Duration F32 } // F32 time (seconds) | |||
{ Color Fixed 4 } // Color4U | |||
{ TypeData Variable 1 } // Type specific data | |||
} | |||
</pre> | </pre> | ||
==Usage and Notes== | ==Usage and Notes== | ||
Viewer side effect that's sent from one viewer, and broadcast to other agents nearby (selection beams, PointAt, LookAt). | Viewer side effect that's sent from one viewer, and broadcast to other agents nearby (selection beams, PointAt, LookAt). | ||
Revision as of 12:40, 17 July 2008
Message Layout
ViewerEffect Medium 17 NotTrusted Zerocoded
{
AgentData Single
{ AgentID LLUUID }
{ SessionID LLUUID }
}
{
Effect Variable
{ ID LLUUID } // unique UUID of the effect
{ AgentID LLUUID } // yes, pack AgentID again (note this block is variable)
{ Type U8 } // Type of the effect
{ Duration F32 } // F32 time (seconds)
{ Color Fixed 4 } // Color4U
{ TypeData Variable 1 } // Type specific data
}
Usage and Notes
Viewer side effect that's sent from one viewer, and broadcast to other agents nearby (selection beams, PointAt, LookAt).
viewer-->sim (single effect created by viewer)
sim-->viewer (multiple effects that can be seen by viewer)
The AgentData block is used for authentication for viewer-->sim messages