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