Click or drag to resize

TransformExtensions Class

Contains useful extensions for Select.
Inheritance Hierarchy
SystemObject
  Gamelogic.ExtensionsTransformExtensions

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 0, 0)]
public static class TransformExtensions

The TransformExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberDestroyChildren
Public methodStatic memberDestroyChildrenImmediate
Public methodStatic memberDestroyChildrenUniversal
Public methodStatic memberFlipPostive
Sets all scale values to the absolute values.
Public methodStatic memberFlipX
Negates the X scale.
Public methodStatic memberFlipXY
Negates the X and Y scale.
Public methodStatic memberFlipXYZ
Negates the X, Y and Z scale.
Public methodStatic memberFlipXZ
Negates the X and Z scale.
Public methodStatic memberFlipY
Negates the Y scale.
Public methodStatic memberFlipYZ
Negates the Y and Z scale.
Public methodStatic memberFlipZ
Negates the Z scale.
Public methodStatic memberGetChildren
Public methodStatic memberReset
Resets the position, rotation, and local scale.
Public methodStatic memberResetLocal
Resets the ;local position, local rotation, and local scale.
Public methodStatic memberResetLocalPosition
Sets the local position to 0, 0, 0.
Public methodStatic memberResetLocalRotation
Resets the local rotation to 0, 0, 0.
Public methodStatic memberResetPosition
Sets the position to 0, 0, 0.
Public methodStatic memberResetRotation
Resets the rotation to 0, 0, 0.
Public methodStatic memberResetScale
Resets the local scale of this transform in to 1 1 1.
Public methodStatic memberRotateAroundX
Rotates the transform around the X axis.
Public methodStatic memberRotateAroundY
Rotates the transform around the Y axis.
Public methodStatic memberRotateAroundZ
Rotates the transform around the Z axis.
Public methodStatic memberScaleByX
Scale this transform in the X direction.
Public methodStatic memberScaleByXY(Transform, Single)
Scale this transform in the X and Y directions.
Public methodStatic memberScaleByXY(Transform, Single, Single)
Scale this transform in the X, Y direction.
Public methodStatic memberScaleByXYZ(Transform, Single)
Scale this transform in the X, Y and Z directions.
Public methodStatic memberScaleByXYZ(Transform, Single, Single, Single)
Scale this transform in the X, Y and Z directions.
Public methodStatic memberScaleByXZ(Transform, Single)
Scale this transform in the X and Z directions.
Public methodStatic memberScaleByXZ(Transform, Single, Single)
Scale this transform in the X, Z directions.
Public methodStatic memberScaleByY
Scale this transform in the Y direction.
Public methodStatic memberScaleByYZ(Transform, Single)
Scale this transform in the Y and Z directions.
Public methodStatic memberScaleByYZ(Transform, Single, Single)
Scale this transform in the Y and Z directions.
Public methodStatic memberScaleByZ
Scale this transform in the Z direction.
Public methodStatic memberSelfAndAllChildren
A lazy enumerable of this objects transform, and all it's children down the hierarchy.
Public methodStatic memberSetLocalRotationX
Sets the local X rotation.
Public methodStatic memberSetLocalRotationY
Sets the local Y rotation.
Public methodStatic memberSetLocalRotationZ
Sets the local Z rotation.
Public methodStatic memberSetLocalX
Sets the local X position of this transform.
Public methodStatic memberSetLocalXY
Sets the local X and Y position of this transform.
Public methodStatic memberSetLocalXYZ
Sets the local X, Y and Z position of this transform.
Public methodStatic memberSetLocalXZ
Sets the local X and Z position of this transform.
Public methodStatic memberSetLocalY
Sets the local Y position of this transform.
Public methodStatic memberSetLocalYZ
Sets the local Y and Z position of this transform.
Public methodStatic memberSetLocalZ
Sets the local Z position of this transform.
Public methodStatic memberSetRotationX
Sets the X rotation.
Public methodStatic memberSetRotationY
Sets the Y rotation.
Public methodStatic memberSetRotationZ
Sets the Z rotation.
Public methodStatic memberSetScaleX
Sets the local X scale of this transform.
Public methodStatic memberSetScaleXY
Sets the local X and Y scale of this transform.
Public methodStatic memberSetScaleXYZ
Sets the local X, Y and Z scale of this transform.
Public methodStatic memberSetScaleXZ
Sets the local X and Z scale of this transform.
Public methodStatic memberSetScaleY
Sets the local Y scale of this transform.
Public methodStatic memberSetScaleYZ
Sets the local Y and Z scale of this transform.
Public methodStatic memberSetScaleZ
Sets the local Z scale of this transform.
Public methodStatic memberSetX
Sets the X position of this transform.
Public methodStatic memberSetXY
Sets the X and Y position of this transform.
Public methodStatic memberSetXYZ
Sets the X, Y and Z position of this transform.
Public methodStatic memberSetXZ
Sets the X and Z position of this transform.
Public methodStatic memberSetY
Sets the Y position of this transform.
Public methodStatic memberSetYZ
Sets the Y and Z position of this transform.
Public methodStatic memberSetZ
Sets the Z position of this transform.
Public methodStatic memberSort
Public methodStatic memberSortAlphabetically
Public methodStatic memberTranslateX
Translates this transform along the X axis.
Public methodStatic memberTranslateXY
Translates this transform along the X and Y axes.
Public methodStatic memberTranslateXYZ
Translates this transform along the X, Y and Z axis.
Public methodStatic memberTranslateXZ
Translates this transform along the X and Z axes.
Public methodStatic memberTranslateY
Translates this transform along the Y axis.
Public methodStatic memberTranslateYZ
Translates this transform along the Y and Z axes.
Public methodStatic memberTranslateZ
Translates this transform along the Z axis.
Top
See Also