Table of Contents

Class TransformRelative

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that applies a model matrix transform specifying relative position, rotation and scale to every transform in the sequence.

public class TransformRelative : MatrixTransform
Inheritance
TransformRelative
Inherited Members

Constructors

TransformRelative()

Initializes a new instance of the TransformRelative class.

Properties

Position

Gets or sets the relative position of the model, in the local coordinate frame.

Rotation

Gets or sets the quaternion representing the relative rotation of the model, in the local coordinate frame.

Scale

Gets or sets the relative scale vector applied to the model, in the local coordinate frame.

Methods

CreateTransform(out Matrix4)

Initializes a transform matrix for applying a model matrix transform specifying relative position, rotation and scale.