docs.unity.cn
    Show / Hide Table of Contents

    Enum MultiAimConstraintData.WorldUpType

    Specifies how the world up vector used by the Multi-Aim constraint is defined.

    Namespace: UnityEngine.Animations.Rigging
    Syntax
    public enum WorldUpType : int

    Fields

    Name Description Value
    None

    Neither defines nor uses a world up vector.

    0
    SceneUp

    Uses and defines the world up vector as the Unity Scene up vector (the Y axis).

    1
    ObjectUp

    Uses and defines the world up vector as a vector from the constrained object, in the direction of the up object.

    2
    ObjectRotationUp

    Uses and defines the world up vector as relative to the local space of the object.

    3
    Vector

    Uses and defines the world up vector as a vector specified by the user.

    4
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Tuesday, August 24, 2021