docs.unity.cn
    Show / Hide Table of Contents

    Struct LocalToParent

    Namespace: Unity.Transforms
    Syntax
    [Serializable]
    [WriteGroup(typeof(LocalToWorld))]
    public struct LocalToParent : IComponentData

    Fields

    Value

    Declaration
    public float4x4 Value
    Field Value
    Type Description
    Unity.Mathematics.float4x4

    Properties

    Forward

    Declaration
    public readonly float3 Forward { get; }
    Property Value
    Type Description
    Unity.Mathematics.float3

    Position

    Declaration
    public readonly float3 Position { get; }
    Property Value
    Type Description
    Unity.Mathematics.float3

    Right

    Declaration
    public readonly float3 Right { get; }
    Property Value
    Type Description
    Unity.Mathematics.float3

    Up

    Declaration
    public readonly float3 Up { get; }
    Property Value
    Type Description
    Unity.Mathematics.float3
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 23 March 2022
    Terms of use