docs.unity3d.com
    Show / Hide Table of Contents

    Enum ShapeType

    Describes each primitive ProBuilder can create by default. Pass to @"UnityEngine.ProBuilder.ShapeGenerator.CreateShape" to get a primitive with default parameters.

    Namespace: UnityEngine.ProBuilder
    Syntax
    public enum ShapeType

    Fields

    Name Description Value
    Arch

    A 180 degree arch.

    Cone

    Cone shape.

    Cube

    Cube shape.

    CurvedStair

    Curved stairs shape.

    Cylinder

    Cylinder shape.

    Door

    Door shape.

    Pipe

    Pipe shape.

    Plane

    A 10x10 plane with 2 subdivisions.

    Prism

    A prism shape.

    Sphere

    Sphere shape. Also called icosphere, or icosahedron.

    Sprite

    A 1x1 quad.

    Stair

    Stair shape.

    Torus

    Torus shape.

    Back to top
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)