Struct Rotation
This is an optional component that specifies a quaternion rotation transform. If it is not added to the entity, the unit quaternion rotation is assumed.
Namespace: Unity.Tiny.Core2D
Syntax
public struct Rotation : IComponentData
Fields
Value
Declaration
public quaternion Value
Field Value
| Type | Description |
|---|---|
| quaternion |
Properties
Default
Declaration
public static Rotation Default { get; }
Property Value
| Type | Description |
|---|---|
| Rotation |