|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Placeable
Placeable object : you can get/set Position and Rotation
| Method Summary | |
|---|---|
org.openmali.vecmath2.Tuple3f |
getPosition()
|
void |
getPosition(org.openmali.vecmath2.Tuple3f pos)
Writes the position of this Placeable object to the given Tuple3f. |
org.openmali.vecmath2.Tuple3f |
getRotation()
|
void |
getRotation(org.openmali.vecmath2.Tuple3f rot)
Writes the rotation, in Euler angles (degrees) of this Placeable object in the given Tuple3f. |
org.openmali.vecmath2.Matrix3f |
getRotationMatrix()
|
void |
getRotationMatrix(org.openmali.vecmath2.Matrix3f rot)
Writes the rotation, as a 3x3 rotation Matrix, of this Placeable object in the given Matrix3f. |
void |
setPosition(float posX,
float posY,
float posZ)
Sets the position of this Placeable object. |
void |
setPosition(org.openmali.vecmath2.Tuple3f pos)
Sets the position of this Placeable object. |
void |
setRotation(float rotX,
float rotY,
float rotZ)
Sets the rotation of this object, in Euler angles. |
void |
setRotation(org.openmali.vecmath2.Tuple3f rot)
Sets the rotation of this object, in Euler angles (degrees) |
void |
setRotationMatrix(org.openmali.vecmath2.Matrix3f rot)
Sets the rotation Matrix of this object. |
| Method Detail |
|---|
void setPosition(float posX,
float posY,
float posZ)
void setPosition(org.openmali.vecmath2.Tuple3f pos)
pos - org.openmali.vecmath2.Tuple3f getPosition()
void getPosition(org.openmali.vecmath2.Tuple3f pos)
pos - The Tuple3f to put the pos into
void setRotation(float rotX,
float rotY,
float rotZ)
rotX - The x-rotation of this objectrotY - The y-rotation of this objectrotZ - The z-rotation of this objectvoid setRotation(org.openmali.vecmath2.Tuple3f rot)
rot - The rotation, in Euler angles (degrees) of
this Placeable objectorg.openmali.vecmath2.Tuple3f getRotation()
void getRotation(org.openmali.vecmath2.Tuple3f rot)
rot - void setRotationMatrix(org.openmali.vecmath2.Matrix3f rot)
rot - The rotation, as a 3x3 rotation Matrix,
of this Placeable objectorg.openmali.vecmath2.Matrix3f getRotationMatrix()
void getRotationMatrix(org.openmali.vecmath2.Matrix3f rot)
rot -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||