The user-provided data object attached to the event-out slot.
Declaring type: VrmlEvent
Namespace: Vrml.EAI.Event
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public object Data { get; }
Property Value
The UserData property of the EventOut object that fired the event.
Collapse/Expand Remarks
This is a read-only property. You can only set this property via the constructor when creating new VrmlEvent objects.
Collapse/Expand Example
The following example shows how to get the user-provided data object from the event:
C#
Vrml.EAI.Event.VrmlEvent evt = ...;
object data = evt.Data;