Click or drag to resize
Ab4d.SharpEngine logo

ScaleTransform Class

ScaleTransform defines a scale transformation that scales the transformed objects by the specified scale factors.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.TransformationsTransform
    Ab4d.SharpEngine.TransformationsScaleTransform

Namespace: Ab4d.SharpEngine.Transformations
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public class ScaleTransform : Transform

The ScaleTransform type exposes the following members.

Constructors
 NameDescription
Public methodScaleTransform Constructor
Public methodScaleTransform(Single) Constructor
Public methodScaleTransform(Vector3) Constructor
Public methodScaleTransform(Single, Single, Single) Constructor
Top
Properties
 NameDescription
Public propertyScaleX Scale factor in the x direction. 1 by default.
Public propertyScaleY Scale factor in the y direction. 1 by default.
Public propertyScaleZ Scale factor in the z direction. 1 by default.
Top
Methods
 NameDescription
Public methodSetScale Sets all 3 scale factors in one call and updates the transformation matrix.
Public methodToString
(Overrides ObjectToString)
Protected methodUpdateMatrix Updates the Matrix4x4 that defines this transformation and is set to Value property.
Top
See Also