Click or drag to resize
Ab4d.SharpEngine logo

StandardTransform Properties

The StandardTransform type exposes the following members.

Properties
 NameDescription
Public propertyPivotPoint 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).
Public propertyRotateX 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).
Public propertyRotateY 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).
Public propertyRotateZ 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).
Public propertyScaleX 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.
Public propertyScaleY 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.
Public propertyScaleZ 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.
Public propertyTranslateX Gets or sets a float that specified the translation in X direction.
Public propertyTranslateY Gets or sets a float that specified the translation in Y direction.
Public propertyTranslateZ Gets or sets a float that specified the translation in X direction.
Top
See Also