Struct LocalToWorld
Namespace: Unity.Transforms
Syntax
[Serializable]
[WriteGroup(typeof(WorldToLocal))]
public struct LocalToWorld : IComponentData
Fields
Value
Declaration
public float4x4 Value
Field Value
Type | Description |
---|---|
float4x4 |
Properties
Forward
Declaration
public float3 Forward { get; }
Property Value
Type | Description |
---|---|
float3 |
Position
Declaration
public float3 Position { get; }
Property Value
Type | Description |
---|---|
float3 |
Right
Declaration
public float3 Right { get; }
Property Value
Type | Description |
---|---|
float3 |
Rotation
Declaration
public quaternion Rotation { get; }
Property Value
Type | Description |
---|---|
quaternion |
Up
Declaration
public float3 Up { get; }
Property Value
Type | Description |
---|---|
float3 |