Table of Contents

Class RotateZ

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that applies a rotation about the z-axis to every transform in the sequence.

public class RotateZ : MatrixTransform
Inheritance
RotateZ
Inherited Members

Properties

Angle

Gets or sets the angle describing the magnitude of the rotation about the z-axis.

[Range(-3.141592653589793, 3.141592653589793)]
public float Angle { get; set; }

Property Value

float

Methods

CreateTransform(out Matrix4)

Initializes a transform matrix for a rotation about the z-axis.

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.