TransformExtensions
Static Class in Zigurous.Utility
Declaration
public static class TransformExtensions
Extension Methods
HasChangedInHierarchy | Determines if the transform or any of its parents has changed since the last time the flag was set to false. |
CenterPositionOfChildren | Calculates the center position of the transform's children. |
AveragePositionOfChildren | Calculates the average 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. |
SetEulerX | Sets the euler angles of the transform in the x-axis. |
SetEulerY | Sets the euler angles of the transform in the y-axis. |
SetEulerZ | Sets the euler angles of the transform in the z-axis. |
SetLocalEulerX | Sets the local euler angles of the transform in the x-axis. |
SetLocalEulerY | Sets the local euler angles of the transform in the y-axis. |
SetLocalEulerZ | Sets the local euler angles of the transform in the z-axis. |
SetScaleX | Sets the scale of the transform in the x-axis. |
SetScaleY | Sets the scale of the transform in the y-axis. |
SetScaleZ | Sets the scale of the transform in the z-axis. |