docs.unity.cn
    Show / Hide Table of Contents

    Enum PivotLocation

    Describes the type of pivot ProBuilder assigns by default when it creates new primitives.

    Namespace: UnityEngine.ProBuilder
    Syntax
    public enum PivotLocation

    Fields

    Name Description Value
    Center

    Place the pivot in the middle of the bounding box.


    0
    FirstCorner

    Place the pivot at the "first corner" (the first corner vertex defined) of the bounding box.


    1
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Wednesday, April 12, 2023
    Terms of use