Gets an event-out slot of the node.
Declaring type: Node
Namespace: Vrml.EAI
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract EventOut GetEventOut (
        string name
) 
Parameters
name
The name of the event-out slot
Return Value
The event-out slot.
Collapse/Expand Remarks
Whenever you need to read values from fields of a node, you have to call this method. It returns a reference to an EventOut object. You have to cast that object to the concrete type of the field.
Collapse/Expand Example
The following example demonstrates how to get a reference to the "isActive" field of a "TouchSensor" node:
C#
Vrml.EAI.Node touchSensor = browser.GetNode(...);
Vrml.EAI.Field.EventOutSFBool isActive = (Vrml.EAI.Field.EventOutSFBool)touchSensor.GetEventOut("isActive");