public class Transform
extends java.lang.Object
| Constructor and Description |
|---|
Transform() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOffset(float x,
float y,
float z)
Add offset to this transformation
|
void |
addRotation(float x,
float y,
float z)
Add rotation to this transformation
|
float |
getOffsetX() |
float |
getOffsetY() |
float |
getOffsetZ() |
float |
getRotationX() |
float |
getRotationY() |
float |
getRotationZ() |
void |
resetOffset()
Reset the offset of this transformation
|
void |
resetRotation()
Reset the rotation of this transformation
|
void |
setOffset(float x,
float y,
float z)
Set the offset of this transformation
|
void |
setRotation(float x,
float y,
float z)
Set the rotation of this transformation
|
public float getRotationX()
public float getRotationY()
public float getRotationZ()
public float getOffsetX()
public float getOffsetY()
public float getOffsetZ()
public void addRotation(float x,
float y,
float z)
x - the x rotationy - the y rotationz - the z rotationpublic void addOffset(float x,
float y,
float z)
x - the x offsety - the y offsetz - the z offsetpublic void resetRotation()
public void resetOffset()
public void setRotation(float x,
float y,
float z)
x - the x rotationy - the y rotationz - the z rotationpublic void setOffset(float x,
float y,
float z)
x - the x offsety - the y offsetz - the z offset