Method RotateX
RotateX(float)
Rotates this Transform around the X axis.
Declaration
public LocalTransform RotateX(float angle)
Parameters
| Type | Name | Description |
|---|---|---|
| float | angle | The X rotation. |
Returns
| Type | Description |
|---|---|
| LocalTransform | A new, rotated Transform. |
Remarks
Note that this doesn't modify the original transform. Rather it returns a new one.