docs.unity.cn
    Show / Hide Table of Contents

    Enum ColliderType

    The concrete type of a collider.

    Namespace: Unity.Physics
    Syntax
    public enum ColliderType : byte

    Fields

    Name Description Value
    Convex

    An enum constant representing the convex collider type.


    0
    Sphere

    An enum constant representing the sphere collider type.


    1
    Capsule

    An enum constant representing the capsule collider type.


    2
    Triangle

    An enum constant representing the triangle collider type.


    3
    Quad

    An enum constant representing the quad collider type.


    4
    Box

    An enum constant representing the box collider type.


    5
    Cylinder

    An enum constant representing the cylinder collider type.


    6
    Mesh

    An enum constant representing the mesh collider type.


    7
    Compound

    An enum constant representing the compound collider type.


    8
    Terrain

    An enum constant representing the terrain collider type.


    9
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023