Class Scale
Represents an operator that applies a scale factor along the specified axes to every transform in the sequence.
public class Scale : MatrixTransform
- Inheritance
-
Scale
- Inherited Members
Properties
X
Gets or sets the scale factor for the x-axis.
[Range(0, 2)]
public float X { get; set; }
Property Value
Y
Gets or sets the scale factor for the y-axis.
[Range(0, 2)]
public float Y { get; set; }
Property Value
Z
Gets or sets the scale factor for the z-axis.
[Range(0, 2)]
public float Z { get; set; }
Property Value
Methods
CreateTransform(out Matrix4)
Initializes a transform matrix for applying a scale factor along the specified axes.
protected override void CreateTransform(out Matrix4 result)
Parameters
result
Matrix4When this method returns, contains the relative matrix transform to be combined with each element in the sequence.