Method RotateZ
RotateZ(float)
Rotates this Transform around the Z axis.
Declaration
public LocalTransform RotateZ(float angle)
Parameters
Type | Name | Description |
---|---|---|
float | angle | The Z 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.