TransformTRS Struct
Namespace: Stride.RenderingAssembly: Stride.Rendering.dll
Stores transformation in a TRS format (Position, Rotation and Scale).
[DataContract]
public struct TransformTRS
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.
Name | Description | |
---|---|---|
Fields | ||
Position | The translation. |
|
Rotation | The rotation. |
|
Scale | The scaling |
Fields
Position
The translation.
public Vector3 Position
Field Value
Type | Description |
---|---|
Vector3 |
Rotation
The rotation.
public Quaternion Rotation
Field Value
Type | Description |
---|---|
Quaternion |
Scale
The scaling
public Vector3 Scale
Field Value
Type | Description |
---|---|
Vector3 |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()