Returns the current value of the SFNode event-out slot.
C# |
---|
public abstract Node GetValue () |
The following example demonstrates how to get the geometry
node from a Shape node and prints the type of geometry to the
console:
C# |
---|
Vrml.EAI.Node shapeNode = ...;
Vrml.EAI.Field.EventOutSFNode geometry_changed = (Vrml.EAI.Field.EventOutSFNode)shapeNode.GetEventOut("geometry_changed");
Vrml.EAI.Node geometry = geometry_changed.GetValue();
if (geometry == null)
System.Console.WriteLine("geometry = null");
else
System.Console.WriteLine("geometry = " + geometry.Type);
|