docs.unity.cn
    Show / Hide Table of Contents

    Enum HandleOrientation

    How the handle gizmo is oriented with regards to the current element selection.

    Namespace: UnityEngine.ProBuilder
    Syntax
    public enum HandleOrientation
    Remarks

    This overrides the Unity Pivot / Global setting when editing vertices, faces, or edges.

    Fields

    Name Description Value
    World

    The gizmo is aligned to identity in world space.

    0
    ActiveObject

    The gizmo is aligned relative to the active mesh transform. Also called coordinate or model space.

    1
    ActiveElement

    The gizmo is aligned relative to the currently selected face. When editing vertices or edges, this falls back to ActiveObject alignment.

    2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 09 July 2021