Table of Contents

Class RotateQuaternion

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that applies a rotation specified by a quaternion to every transform in the sequence.

public class RotateQuaternion : MatrixTransform
Inheritance
RotateQuaternion
Inherited Members

Constructors

RotateQuaternion()

Initializes a new instance of the RotateQuaternion class.

public RotateQuaternion()

Properties

Rotation

Gets or sets the quaternion representing the rotation transform.

[TypeConverter(typeof(NumericRecordConverter))]
public Quaternion Rotation { get; set; }

Property Value

Quaternion

Methods

CreateTransform(out Matrix4)

Initializes a transform matrix for applying a rotation specified by a quaternion.

protected override void CreateTransform(out Matrix4 result)

Parameters

result Matrix4

When this method returns, contains the relative matrix transform to be combined with each element in the sequence.