Enum ShapeType | ProBuilder | 4.3.1
docs.unity.cn
    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
    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 © 2020 Unity Technologies
    Generated by DocFX