C# |
---|
public abstract float[] GetValue () |
C# |
---|
Vrml.EAI.Node touchSensor = null; Vrml.EAI.Field.EventOutSFVec3f hitPoint_changed = (Vrml.EAI.Field.EventOutSFVec3f)touchSensor.GetEventOut("hitPoint_changed"); float[] coord = hitPoint_changed.GetValue(); System.Console.WriteLine("x = " + coord[0] + ", y = " + coord[1] + ", z = " + coord[2]); |