TransformExtensions Class |
Namespace: Gamelogic.Extensions
[VersionAttribute(1, 0, 0)] public static class TransformExtensions
The TransformExtensions type exposes the following members.
Name | Description | |
---|---|---|
DestroyChildren | ||
DestroyChildrenImmediate | ||
DestroyChildrenUniversal | ||
FlipPostive |
Sets all scale values to the absolute values.
| |
FlipX |
Negates the X scale.
| |
FlipXY |
Negates the X and Y scale.
| |
FlipXYZ |
Negates the X, Y and Z scale.
| |
FlipXZ |
Negates the X and Z scale.
| |
FlipY |
Negates the Y scale.
| |
FlipYZ |
Negates the Y and Z scale.
| |
FlipZ |
Negates the Z scale.
| |
GetChildren | ||
Reset |
Resets the position, rotation, and local scale.
| |
ResetLocal |
Resets the ;local position, local rotation, and local scale.
| |
ResetLocalPosition |
Sets the local position to 0, 0, 0.
| |
ResetLocalRotation |
Resets the local rotation to 0, 0, 0.
| |
ResetPosition |
Sets the position to 0, 0, 0.
| |
ResetRotation |
Resets the rotation to 0, 0, 0.
| |
ResetScale |
Resets the local scale of this transform in to 1 1 1.
| |
RotateAroundX |
Rotates the transform around the X axis.
| |
RotateAroundY |
Rotates the transform around the Y axis.
| |
RotateAroundZ |
Rotates the transform around the Z axis.
| |
ScaleByX |
Scale this transform in the X direction.
| |
ScaleByXY(Transform, Single) |
Scale this transform in the X and Y directions.
| |
ScaleByXY(Transform, Single, Single) |
Scale this transform in the X, Y direction.
| |
ScaleByXYZ(Transform, Single) |
Scale this transform in the X, Y and Z directions.
| |
ScaleByXYZ(Transform, Single, Single, Single) |
Scale this transform in the X, Y and Z directions.
| |
ScaleByXZ(Transform, Single) |
Scale this transform in the X and Z directions.
| |
ScaleByXZ(Transform, Single, Single) |
Scale this transform in the X, Z directions.
| |
ScaleByY |
Scale this transform in the Y direction.
| |
ScaleByYZ(Transform, Single) |
Scale this transform in the Y and Z directions.
| |
ScaleByYZ(Transform, Single, Single) |
Scale this transform in the Y and Z directions.
| |
ScaleByZ |
Scale this transform in the Z direction.
| |
SelfAndAllChildren |
A lazy enumerable of this objects transform, and all it's children down the hierarchy.
| |
SetLocalRotationX |
Sets the local X rotation.
| |
SetLocalRotationY |
Sets the local Y rotation.
| |
SetLocalRotationZ |
Sets the local Z rotation.
| |
SetLocalX |
Sets the local X position of this transform.
| |
SetLocalXY |
Sets the local X and Y position of this transform.
| |
SetLocalXYZ |
Sets the local X, Y and Z position of this transform.
| |
SetLocalXZ |
Sets the local X and Z position of this transform.
| |
SetLocalY |
Sets the local Y position of this transform.
| |
SetLocalYZ |
Sets the local Y and Z position of this transform.
| |
SetLocalZ |
Sets the local Z position of this transform.
| |
SetRotationX |
Sets the X rotation.
| |
SetRotationY |
Sets the Y rotation.
| |
SetRotationZ |
Sets the Z rotation.
| |
SetScaleX |
Sets the local X scale of this transform.
| |
SetScaleXY |
Sets the local X and Y scale of this transform.
| |
SetScaleXYZ |
Sets the local X, Y and Z scale of this transform.
| |
SetScaleXZ |
Sets the local X and Z scale of this transform.
| |
SetScaleY |
Sets the local Y scale of this transform.
| |
SetScaleYZ |
Sets the local Y and Z scale of this transform.
| |
SetScaleZ |
Sets the local Z scale of this transform.
| |
SetX |
Sets the X position of this transform.
| |
SetXY |
Sets the X and Y position of this transform.
| |
SetXYZ |
Sets the X, Y and Z position of this transform.
| |
SetXZ |
Sets the X and Z position of this transform.
| |
SetY |
Sets the Y position of this transform.
| |
SetYZ |
Sets the Y and Z position of this transform.
| |
SetZ |
Sets the Z position of this transform.
| |
Sort | ||
SortAlphabetically | ||
TranslateX |
Translates this transform along the X axis.
| |
TranslateXY |
Translates this transform along the X and Y axes.
| |
TranslateXYZ |
Translates this transform along the X, Y and Z axis.
| |
TranslateXZ |
Translates this transform along the X and Z axes.
| |
TranslateY |
Translates this transform along the Y axis.
| |
TranslateYZ |
Translates this transform along the Y and Z axes.
| |
TranslateZ |
Translates this transform along the Z axis.
|