public class SFRotation extends Field
Constructor and Description |
---|
SFRotation()
Construct a default SFRotation field.
|
SFRotation(float axisX,
float axisY,
float axisZ,
float angle)
Construct an SFRotation field.
|
Modifier and Type | Method and Description |
---|---|
void |
getValue(float[] rotations)
Get the X, Y, Z and angle values representing the SFRotation.
|
void |
setValue(ConstSFRotation rotation)
Set the value of an SFRotation.
|
void |
setValue(float[] rotations)
Set the X, Y, Z and angle values of an SFRotation.
|
void |
setValue(float axisX,
float axisY,
float axisZ,
float angle)
Set the X, Y, Z and angle values of an SFRotation.
|
void |
setValue(SFRotation rotation)
Set the value of an SFRotation.
|
public SFRotation()
public SFRotation(float axisX, float axisY, float axisZ, float angle)
axisX
- X-component of the rotationaxisY
- Y-component of the rotationaxisZ
- Z-component of the rotationangle
- Angle of the rotationpublic void getValue(float[] rotations)
rotations
- X, Y, Z and angle values representing the SFRotationpublic void setValue(float[] rotations)
rotations
- X, Y, Z and angle values to set SFRotation withpublic void setValue(float axisX, float axisY, float axisZ, float angle)
axisX
- X-component of the rotationaxisY
- Y-component of the rotationaxisZ
- Z-component of the rotationangle
- Angle of the rotationpublic void setValue(ConstSFRotation rotation)
rotation
- ConstSFRotation to take values frompublic void setValue(SFRotation rotation)
rotation
- SFRotation to take values from