|  | 
| StandardTransform Class | 
            StandardTransform defines a standard translate, rotate and scale transform.
            Rotate transform is defined by using rotation around x, y and z axes.
            To use quaternion rotation use the 
StandardQuaternionTransform.
            The scale and rotation is done by an optional 
PivotPoint.
            
 Inheritance Hierarchy
Inheritance Hierarchy Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic class StandardTransform : Transform
The StandardTransform type exposes the following members.
 Constructors
Constructors Properties
Properties|  | Name | Description | 
|---|
|  | PivotPoint | Gets or sets a nullable Vector3 that sets a custom center of rotation and custom scale origin.
            For example, this can set to the center of the object's mesh (get by GetCenterPosition(Boolean, Boolean) method).
            PivotPoint is null by default. In this case all rotations and scales are done from the coordinate origin (0, 0, 0). | 
|  | RotateX | Gets or sets a float that specified the rotation angle in degrees around the X axis (Attitude in SphericalCamera).
            By default the object is rotated around (0, 0, 0) position. To use a custom center of rotation set PivotPoint property,
            for example, this can set to the center of the object's mesh (get by GetMeshBoundingBox(Boolean) method). | 
|  | RotateY | Gets or sets a float that specified the rotation angle in degrees around the Y axis (Heading in SphericalCamera).
            By default the object is rotated around (0, 0, 0) position. To use a custom center of rotation set PivotPoint property,
            for example, this can set to the center of the object's mesh (get by GetMeshBoundingBox(Boolean) method). | 
|  | RotateZ | Gets or sets a float that specified the rotation angle in degrees around the Z axis (Bank in SphericalCamera).
            By default the object is rotated around (0, 0, 0) position. To use a custom center of rotation set PivotPoint property,
            for example, this can set to the center of the object's mesh (get by GetMeshBoundingBox(Boolean) method). | 
|  | ScaleX | Gets or sets a float that specified the scale in the direction of the X axis.
            By default the object is scaled from (0, 0, 0) position. To use a custom scale origin set PivotPoint property,
            for example, this can set to the center of the object's BoundingBox. | 
|  | ScaleY | Gets or sets a float that specified the scale in the direction of the Y axis.
            By default the object is scaled from (0, 0, 0) position. To use a custom scale origin set PivotPoint property,
            for example, this can set to the center of the object's BoundingBox. | 
|  | ScaleZ | Gets or sets a float that specified the scale in the direction of the Z axis.
            By default the object is scaled from (0, 0, 0) position. To use a custom scale origin set PivotPoint property,
            for example, this can set to the center of the object's BoundingBox. | 
|  | TranslateX | Gets or sets a float that specified the translation in X direction. | 
|  | TranslateY | Gets or sets a float that specified the translation in Y direction. | 
|  | TranslateZ | Gets or sets a float that specified the translation in X direction. | 
Top Methods
Methods|  | Name | Description | 
|---|
|  | GetAverageScale | Returns an average scale that is calculated by averaging the ScaleX, ScaleY and ScaleZ. | 
|  | GetScaleFactors | Returns a Vector3 created from ScaleX, ScaleY, ScaleZ properties. | 
|  | GetTranslateVector | Returns a Vector3 created from TranslateX, TranslateY and TranslateZ properties. | 
|  | GetTranslateVector3D | Obsolete. Returns a Vector3 created from TranslateX, TranslateY and TranslateZ properties.
 | 
|  | Move(Vector3) | Updates the translate transformation by moving for the specified offsets and updates the transformation matrix. | 
|  | Move(Single, Single, Single) | Updates the translate transformation by moving for the specified offsets and updates the transformation matrix. | 
|  | Reset | Reset method sets all translation and rotation to zero and all scales to 1. | 
|  | Rotate | Adjusts the rotation angles for the specified rotation angles and updates the transformation matrix. | 
|  | Scale(Single) | Scales the existing transformation by multiplying the current scale factors with the specified scaleFactor and updates the transformation matrix. | 
|  | Scale(Single, Single, Single) | Scales the existing transformation by multiplying the current scale factors with the specified scale factors and updates the transformation matrix. | 
|  | SetRotate | Sets rotation angles to the specified values and updates the transformation matrix. | 
|  | SetScale(Single) | Sets scale factor for all x, y and z scale factors to the specified scale and updates the transformation matrix. | 
|  | SetScale(Vector3) | Sets the scale factors to the specified values and updates the transformation matrix. | 
|  | SetScale(Single, Single, Single) | Sets the scale factors to the specified values and updates the transformation matrix. | 
|  | SetTranslate(Vector3) | Sets translate transformation values to the specified values and updates the transformation matrix. | 
|  | SetTranslate(Single, Single, Single) | Sets translate transformation values to the specified values and updates the transformation matrix. | 
|  | ToString | (Overrides ObjectToString)
 | 
|  | UpdateMatrix | Updates the Matrix4x4 that defines this transformation and is set to Value property. | 
Top See Also
See Also