IModelPart
Description
- Derived from
- Extended by
-
ModelPart sealed
Describes a visual part of a model by providing all data that is required to render it.
Public / Methods
Merge
Tries to merge this model part with the given one.
Model parts may be merged iff the primitive batch can be merged (see PrimitiveBatch.Merge) and all part properties are equal.
Public / Attributes
Batch
The primitive batch of this model in the geometry buffer.
Defaults to PrimitiveBatch.None.
- See also
Geometry
The geometry of this model.
IModelGeometry objects may be shared between model parts.
Defaults to null
.
- See also
Layer
The surface layer offset of this model part.
To avoid Z-fighting of coplanar surfaces, layer offsets may be used to decrease the depth value of samples during rendering.
Defaults to 0
.
Material
The material of this model.
IModelGeometry objects may be shared between model parts.
If null
, a material with default values will be used for rendering.
Defaults to null
.