sealed class Tinman.Engine.Scenes.Util.GroundPathTransform

Derived from

PathTransform<GroundPathSample> abstract

A ITerrainTransform that computes a coordinate system for a GroundPathSample.

Public / Constructors


public constructor GroundPathTransform → (1)

position opt : LocalTransform = null

The LocalTransform object to use or null to create a new one.

Creates a new instance of GroundPathTransform.

Public / Attributes


public attribute Height → (get,set)

value : float64

The height offset.

Specifies a value that will be added to GroundPathSample.Height, before computing the path transformations.

Defaults to 0.


public attribute Invariant → (get,set)

value : bool

true to use VerticalType.Height,
false to use VerticalType.HeightMesh.

Specifies which vertical coordinate type to use to interpret GroundPathSample.Height.

Defaults to true.


public attribute Tripod → (get,set)

value : Tripod

The tripod object or null (both pitch and roll will be zero in this case).

Specifies the tripod helper object that shall be used to compute pitch and roll angles, in order to align the local coordinate system to the ground slope.

Defaults to null.