Describes a 3D model that is placed somewhere onto the terrain.
sealed class
|
TerrainModel
|
extends
|
MeshBoundBase
|
The position properties of the TerrainModel class refer to the coordinate origin of the model-space of Model.
Has this object been bound to an IMesh object?
public
property
|
HasMesh
{
get
}
|
||
type
|
bool
|
||
value
|
true
if
this
object
is
currently
bound
to
an
IMesh,
false
if
not.
|
||
inherited
|
MeshBoundBase.HasMesh
|
public
property
|
IsValid
{
get
}
|
||
type
|
bool
|
||
value
|
The CLOD mesh this object is currently bound to.
public
property
|
Mesh
{
get
}
|
||
type
|
IMesh
|
||
value
|
The
CLOD
mesh
or
null . |
||
inherited
|
MeshBoundBase.Mesh
|
The 3D model.
public
property
|
Model
{
get
set
}
|
||
type
|
IModel
|
||
value
|
The
3D
model
or
null . |
The transformation between model-space and terrain-space.
public
property
|
Transform
{
get
set
}
|
||
type
|
ITerrainTransform
|
||
value
|
The
transformation
or
null . |
Outputs the bounds of this terrain model to the given box soup.
public
method
|
Bounds
(BoxSoup bounds)
|
||
params
|
bounds
|
[not-null]
|
The output box soup. |
Binds this object to the given IMesh.
public
override
method
|
MeshBind
(IMesh mesh)
|
||
params
|
mesh
|
The mesh object. | |
overrides
|
MeshBoundBase.MeshBind
|
Unbinds this object from its current IMesh.
public
override
method
|
MeshUnbind
()
|
||
overrides
|
MeshBoundBase.MeshUnbind
|