Table of Contents

Struct TransformTRS

Namespace
Stride.Rendering
Assembly
Stride.Rendering.dll

Stores transformation in a TRS format (Position, Rotation and Scale).

[DataContract]
public struct TransformTRS
Inherited Members

Remarks

It first applies scaling, then rotation, then translation. Rotation is stored in a Quaternion so that animation system can provides smooth rotation interpolations and blending.

Fields

Position

The translation.

public Vector3 Position

Field Value

Vector3

Rotation

The rotation.

public Quaternion Rotation

Field Value

Quaternion

Scale

The scaling

public Vector3 Scale

Field Value

Vector3