sealed class Tinman.Engine.Scenes.Entities.GeoPathTrail

A scene entity that generates a 3D model for a geo path.

The geo path model is built as follows (top-down view):

x---------x---------x---------x---------x   \
|                                       |    |
|                                       |    |
o         o         o         o         o    | width
|                                       |    |
|                                       |    |
x---------x---------x---------x---------x   /


where x are the generated vertices (perpendicular to geo path direction and up-vector) and o are the interpolated geo path samples. The visual appearance of the geo path model can be controlled with the following properties:

Use MaximumSegments and MinimumTimestampStep to control the amount of generated 3D geometry and the resulting visual detail.

Public / Constructors


public constructor GeoPathTrail → (1)

entityViewMask opt : int64 = ~0

The value for IEntityViewMask.EntityViewMask.

Creates a new instance of GeoPathTrail.

Public / Attributes


public attribute MaximumSegments → (get,set)

value : int32

The maximum number of segments.

The maximum allowed number of path segments.

Defaults to 65536.


public attribute MinimumTimestampStep → (get,set)

value : float64

The minimum timestamp step (see GeoPathSample.Timestamp).

The minimum allowed timestamp step between trail segments.

Defaults to 100.


public attribute Path → (get,set)

value : IGeoPathBase

The geo path or null for none.

The geo path for which to generate the 3D model.

The IGeoPathBase.LatLonHeightOn and IGeoPathBase.YawPitchRollOn methods are used to get path samples. From those, the geo path trail will be constructed. If IGeoPathBase.Vertical is GeoPathValue.Height, then VerticalType.HeightMesh will be used to avoid blocking the application thread with heightmap accesses.

Defaults to null.