Package vrml.eai.field
Class EventOutSFVec2f
java.lang.Object
vrml.eai.field.BaseField
vrml.eai.field.EventOut
vrml.eai.field.EventOutSFVec2f
- Direct Known Subclasses:
EventOutSFVec2fWrapper
VRML eventOut class for SFVec2f.
- Version:
- 1.0 30 April 1998
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class vrml.eai.field.EventOut
addVrmlEventListener, getUserData, removeVrmlEventListener, setUserData
-
Constructor Details
-
EventOutSFVec2f
protected EventOutSFVec2f()Construct an instance of this class. Calls the superclass constructor with the field type set to SFVec2f.
-
-
Method Details
-
getValue
public abstract float[] getValue()Get the vector value in the given eventOut.- Returns:
- The array of vector components where
value[0] = X
value[1] = Y
-
getValue
public abstract void getValue(float[] vec) Write the vector value to the given eventOut- Parameters:
vec
- The array of vector values to be filled in where
vec[0] = X
vec[1] = Y- Throws:
ArrayIndexOutOfBoundsException
- The provided array was too small
-