docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum ShapeType

    This enum describes each primitive shape that ProBuilder can create by default. To get a primitive with default parameters, use one of these values when calling CreateShape(ShapeType, PivotLocation).

    Namespace: UnityEngine.ProBuilder
    Assembly: Unity.ProBuilder.dll
    Syntax
    public enum ShapeType

    Fields

    Name Description
    Arch

    Arch shape (180 degrees).

    Cone

    Cone shape.

    Cube

    Cube shape.

    CurvedStair

    Curved stairs shape.

    Cylinder

    Cylinder shape.

    Door

    Door shape.

    Pipe

    Pipe shape.

    Plane

    Plane shape with 2 subdivisions and 10x10 units size.

    Prism

    Prism shape.

    Sphere

    Sphere shape. Sometimes called "icosphere", or "icosahedron".

    Sprite

    Sprite shape (1x1 quad).

    Stair

    Straight stairs shape.

    Torus

    Torus shape.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)