@NotThreadSafe public final class PartRotation extends Object
Constructor and Description |
---|
PartRotation(int rotX,
int rotY,
int rotZ) |
Modifier and Type | Method and Description |
---|---|
Vector |
asVector()
Obtains the rotation of this part as a vector of the rotation xyz
|
int |
rotX()
Get the rotation on the X plane
|
int |
rotY()
Get the rotation on the Y plane
|
int |
rotZ()
Get the rotation on the Z plane
|
void |
setRotX(int rotX)
Set the rotation on the X plane
|
void |
setRotY(int rotY)
Set the rotation on the Y plane
|
void |
setRotZ(int rotZ)
Set the rotation on the Z plane
|
public PartRotation(int rotX, int rotY, int rotZ)
rotX
- Rotation value on the X planerotY
- Rotation value on the Y planerotZ
- Rotation value on the Z planepublic int rotX()
public void setRotX(int rotX)
rotX
- rotation on the X planepublic int rotY()
public void setRotY(int rotY)
rotY
- rotation on the Y planepublic int rotZ()
public void setRotZ(int rotZ)
rotZ
- rotation on the Z planeCopyright © 2016. All rights reserved.