Gets or sets the user data associated with this field.
Declaring type: EventOut
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract object UserData { get; set; }
Property Value
An arbitrary data object.
Collapse/Expand Remarks
The user data is not used by the EAI in any way. It is a simple way to attach arbitrary application-specific data to event-out slots.
Collapse/Expand Example
The following example demonstrates how to attach a data object ("myData") to an event-out slot:
C#
MyClass myData = ...;
Vrml.EAI.Field.EventOut eventOut = ...;
eventOut.UserData = myData;
...
myData = eventOut.UserData;