Contains information about a VRML event.
Click here to see the list of members.
The following example shows the skeleton of a vrml event delegate, and
how the VrmlEvent object is used inside the delegate:
C# |
---|
private static Vrml.EAI.Field.EventOutSFColor diffuseColor_changed;
...
private static void OnVrmlEvent(Vrml.EAI.Event.VrmlEvent evt)
{
Vrml.EAI.Field.BaseField field = evt.Source;
double time = evt.Time;
object data = evt.Data;
if (field == diffuseColor_changed)
{
// diffuseColor_changed event-out slot fired an event
...
}
...
}
|