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