Package vrml.eai.field
Class EventOutSFVec3f
java.lang.Object
vrml.eai.field.BaseField
vrml.eai.field.EventOut
vrml.eai.field.EventOutSFVec3f
- Direct Known Subclasses:
EventOutSFVec3fWrapper
VRML eventOut class for SFVec3f.
- 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
-
EventOutSFVec3f
protected EventOutSFVec3f()Construct an instance of this class. Calls the superclass constructor with the field type set to SFVec3f.
-
-
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
value[2] = Z
-
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
vec[2] = Z- Throws:
ArrayIndexOutOfBoundsException
- The provided array was too small
-