Enum ShapeType | ProBuilder | 4.3.1
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
    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.

    In This Article
    • Fields
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023