crashcat docs
    Preparing search index...

    Interface ShapeTypeRegistry

    Shape type registry for discriminated unions (extensible). Custom shapes can extend this via declaration merging:

    declare module 'crashcat' {
    interface ShapeTypeRegistry {
    [ShapeType.USER_1]: MyCustomShape;
    }
    }
    interface ShapeTypeRegistry {
        "0": SphereShape;
        "1": BoxShape;
        "10": OffsetCenterOfMassShape;
        "11": PlaneShape;
        "2": CapsuleShape;
        "3": ConvexHullShape;
        "4": TriangleMeshShape;
        "5": CompoundShape;
        "6": TransformedShape;
        "7": ScaledShape;
        "8": EmptyShape;
        "9": CylinderShape;
    }
    Index

    Properties

    0 1 10 11 2 3 4 5 6 7 8 9

    Properties