TerrainTransform
Description
- Derived from
-
Versioned abstract
ITerrainTransform - Extended by
-
AppendTransform sealed
LatLonHeightTransform sealed
LocalTransform sealed
MatrixTransform sealed
PathTransform abstract
VehicleTransform sealed
YawPitchRollTransform sealed
Abstract base class for ITerrainTransform implementations.
If a subclass depends on the current mesh version (for example by using VerticalType.HeightMesh), it should override the Versioned.VersionAggregated property and include the value of VersionMesh in the computation.
Protected / Methods
ComputeTransform
Computes the affine transform to return from ITerrainTransform.Transform.
When this method is called, IMeshBound.HasMesh will always return true, unless ITerrainTransform.NeedsMesh is false.
DoMeshBind
Called when this ITerrainTransform has been bound to a IMesh.
- TinmanException
-
If the given mesh in does not provide all data that is required by this object.
Protected / Attributes
VersionMesh
Returns the current IVersioned.Version of the currently bound IMeshBound.Mesh if not null and ITerrainTransform.NeedsMesh returns true. Otherwise, 0 is returned.