Class RotateAxisAngle
Represents an operator that applies a rotation around an arbitrary axis to every transform in the sequence.
public class RotateAxisAngle : MatrixTransform
- Inheritance
-
RotateAxisAngle
- Inherited Members
Properties
Angle
Gets or sets the angle describing the magnitude of the rotation about the axis.
[Range(-3.141592653589793, 3.141592653589793)]
public float Angle { get; set; }
Property Value
Axis
Gets or sets a 3D vector specifying the direction of the axis of rotation.
[TypeConverter(typeof(NumericRecordConverter))]
public Vector3 Axis { get; set; }
Property Value
Methods
CreateTransform(out Matrix4)
Initializes a transform matrix for applying a rotation around the specified axis.
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.