Returns the current value of the SFVec3f event-out slot.
Declaring type: EventOutSFVec3f
Namespace: Vrml.EAI.Field
Assembly: VrmlEAI.NET
Collapse/Expand Syntax
C#
public abstract void GetValue (
        float[] value
) 
Parameters
value
An array of at least three float elements that gets filled with the components of the vector. The first element gets filled with the x component, the second element with the y component, and the third element with the z component.
Collapse/Expand Example
The following example demonstrates how to get the hit point from a TouchSensor node:
C#
Vrml.EAI.Node touchSensor = null;
Vrml.EAI.Field.EventOutSFVec3f hitPoint_changed = (Vrml.EAI.Field.EventOutSFVec3f)touchSensor.GetEventOut("hitPoint_changed");
float[] coord = new float[3];
hitPoint_changed.GetValue(coord);
System.Console.WriteLine("x = " + coord[0] + ", y = " + coord[1] + ", z = " + coord[2]);