IModel
Description
- Extended by
-
Model sealed
Base interface for classes that represent 3D models.
The coordinate space for untransformed 3D models is defined as follows:
-
X+ : points eastwards resp. sidewards.
-
Y+ : points upwards.
-
Z- : points northwards resp. forwards.
The ground level is expected to be at Y-coordinate zero.
Public / Methods
ChildTransformAt
Returns the child-to-parent transformation matrix of the index in-th child model.
The transformation matrix uses the unit of measure of the parent model (see Unit).
- See also
ColliderLoad
Initializes the Collider object from the given precomputed spatial data structures.
As an alternative to this method, the ModelFlags.ComplexGeometry flag may be used.
If the given data in is unsuitable, this method will return silently and a new IModelCollider will be computed.
- See also
PrepareLazy
Prepares all lazy-loaded data for this model.
- IOException
-
If an I/O error has occurred while lazy-loading model data.
Public / Attributes
Unit
The unit of measure in which model-space coordinates are expressed.
Defaults to UnitOfMeasure.Metre.
Extensions
ChildTransformWithUnitScaleAt
Returns the child-to-parent transformation matrix of the index in-th child model.
The transformation matrix uses the unit of measure of the child model (see IModel.Unit).
- See also