TransformExtensions
Static Class in Zigurous.Math
Declaration
public static class TransformExtensionsDescription
Extension methods for Transform components.
Extension Methods
| AveragePositionOfChildren | Calculates the average position of the transform's children. |
| CenterPositionOfChildren | Calculates the center position of the transform's children. |
| Reset | Resets the position, rotation, and scale of the transform. |
| ResetLocal | Resets the local position, rotation, and scale of the transform. |
| SetPositionX | Sets the position of the transform in the x-axis. |
| SetPositionY | Sets the position of the transform in the y-axis. |
| SetPositionZ | Sets the position of the transform in the z-axis. |
| SetLocalPositionX | Sets the local position of the transform in the x-axis. |
| SetLocalPositionY | Sets the local position of the transform in the y-axis. |
| SetLocalPositionZ | Sets the local position of the transform in the z-axis. |
| SetEulerAnglesX | Sets the euler angles of the transform in the x-axis. |
| SetEulerAnglesY | Sets the euler angles of the transform in the y-axis. |
| SetEulerAnglesZ | Sets the euler angles of the transform in the z-axis. |
| SetLocalEulerAnglesX | Sets the local euler angles of the transform in the x-axis. |
| SetLocalEulerAnglesY | Sets the local euler angles of the transform in the y-axis. |
| SetLocalEulerAnglesZ | Sets the local euler angles of the transform in the z-axis. |
| SetLocalScaleX | Sets the scale of the transform in the x-axis. |
| SetLocalScaleY | Sets the scale of the transform in the y-axis. |
| SetLocalScaleZ | Sets the scale of the transform in the z-axis. |