|
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 SFRotation
Representation of a SFRotation field.
Rotation values are specified according to the VRML IS Specification Section 5.8 SFRotation and MFRotation.
| Method Summary | |
|---|---|
void |
getValue(float[] vec)
Write the rotation value to the given eventOut |
void |
setValue(float[] value)
Set the rotation 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 four elements. If the array contains more than 4 values only the first 4 values will be used and the rest ignored.
If the array of values does not contain at least 4 elements an ArrayIndexOutOfBoundsException will be generated.
value - The array of rotation values wherejava.lang.ArrayIndexOutOfBoundsException - The value did not contain at least 4
values for the rotation.
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||