Returns the current value of the SFInt32 event-out slot.
Declaring type: EventOutSFInt32
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract int GetValue ()
Return Value
The integer value.
Collapse/Expand Example
The following example demonstrates how to get the currently selected choice of a Switch node:
C#
Vrml.EAI.Node switchNode = ...;
Vrml.EAI.Field.EventOutSFInt32 whichChoice_changed = (Vrml.EAI.Field.EventOutSFInt32)switchNode.GetEventOut("whichChoice_changed");
System.Console.WriteLine("choice = " + whichChoice_changed.GetValue());