|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SFVec3f
Representation of a SFVec3f field.
| Method Summary | |
|---|---|
void |
getValue(float[] vec)
Write the vector value to the given eventOut |
void |
setValue(float[] value)
Set the vector value in the given eventIn. |
| Methods inherited from interface org.web3d.x3d.sai.X3DField |
|---|
addX3DEventListener, getDefinition, getUserData, isReadable, isWritable, removeX3DEventListener, setUserData |
| Method Detail |
|---|
void getValue(float[] vec)
vec - The array of vector values to be filled in wherejava.lang.ArrayIndexOutOfBoundsException - The provided array was too smallvoid setValue(float[] value)
The value array must contain at least three elements. If the array contains more than 3 values only the first 3 values will be used and the rest ignored.
If the array of values does not contain at least 3 elements an ArrayIndexOutOfBoundsException will be generated.
value - The array of vector components wherejava.lang.ArrayIndexOutOfBoundsException - The value did not contain at least three
values for the vector
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||