public class Transform extends A3DObject
Modifier and Type | Method and Description |
---|---|
Vector3 |
getEulerAngles()
Gets the rotation represented in euler angles, measured in degree
|
Vector3 |
getPostRotation()
Gets the post-rotation represented in degree
|
Vector3 |
getPreRotation()
Gets the pre-rotation represented in degree
|
Quaternion |
getRotation()
Gets the rotation represented in quaternion.
|
Vector3 |
getScale()
Gets the scale
|
Matrix4 |
getTransformMatrix()
Gets the transform matrix.
|
Vector3 |
getTranslation()
Gets the translation
|
void |
setEulerAngles(Vector3 value)
Sets the rotation represented in euler angles, measured in degree
|
void |
setPostRotation(Vector3 value)
Sets the post-rotation represented in degree
|
void |
setPreRotation(Vector3 value)
Sets the pre-rotation represented in degree
|
void |
setRotation(Quaternion value)
Sets the rotation represented in quaternion.
|
void |
setScale(Vector3 value)
Sets the scale
|
void |
setTransformMatrix(Matrix4 value)
Sets the transform matrix.
|
void |
setTranslation(Vector3 value)
Sets the translation
|
findProperty, getName, getProperty, removeProperty, removeProperty, setName, setProperty
public Vector3 getTranslation()
public void setTranslation(Vector3 value)
value
- New valuepublic Vector3 getScale()
public void setScale(Vector3 value)
value
- New valuepublic Vector3 getPreRotation()
public void setPreRotation(Vector3 value)
value
- New valuepublic Vector3 getPostRotation()
public void setPostRotation(Vector3 value)
value
- New valuepublic Vector3 getEulerAngles()
public void setEulerAngles(Vector3 value)
value
- New valuepublic Quaternion getRotation()
public void setRotation(Quaternion value)
value
- New valuepublic Matrix4 getTransformMatrix()
public void setTransformMatrix(Matrix4 value)
value
- New valueCopyright © 2019. All rights reserved.