TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface ISpatialBounds in Tinman.Engine.Models

Base interface for classes that provide common spatial bounding volumes for 3D models.

interface ISpatialBounds base of IModelCollider

Attributes

Box

Returns the axis-aligned bounding box of the model.

property Box { get }
type Box3D
value The bounding box, in model-space.

Mass

Returns the center of mass of the model.

property Mass { get }
type Vec3D
value The weight of mass, in model-space.

Remarks:

The center of mass is computed from the weighted sum of those model vertices that are used by primitives, with the following weights being assigned to each vertex:

Sphere

Returns the bounding sphere of the model.

property Sphere { get }
type Sphere
value The bounding sphere, in model-space.