ITerrainTransform
Description
- Derived from
- Extended by
-
IdentityTransform sealed
SimpleTransform sealed
TerrainTransform abstract
Base interface for classes that represent a transformation between terrain-space and model-space.
Public / Methods
Append
Appends the given transform to this one.
The concatenated transforms are applied as follows:
-
V' = other.ToTerrain * this.ToTerrain * V
-
V = this.ToModel * other.ToModel * V'
where V
is a point in model-space and V'
is a point in terrain-space.
Public / Attributes
NeedsMesh
Does this ITerrainTransform require a bound IMesh object?
If this property is false
, the Transform property will yield correct results, even if IMeshBound.HasMesh is false
.
If this property is true
, the Transform property will yield incorrect results when IMeshBound.HasMesh is false
.
Transform
Returns the affine transformation from model-space to terrain-space, (re-)computing it if necessary.
It is not necessary to call Compute before getting this property.