Small World Engine API Reference - v0.78.00
    Preparing search index...

    Variable BoundingTypeConst

    BoundingType: { BOX: 1; HULL: 3; OBB: 2; SPHERE: 0 } = ...

    Types of bounding volumes.

    Type Declaration

    • ReadonlyBOX: 1

      Axis-aligned bounding box.

    • ReadonlyHULL: 3

      Arbitrary convex polyhedron (face/vertex list), e.g. a Voronoi fracture shard.

    • ReadonlyOBB: 2

      Oriented bounding box.

    • ReadonlySPHERE: 0

      Bounding sphere.