VehicleMode

Description

enum Tinman.AddOns.Scenes.VehicleMode

Full source code is included in the Tinman 3D SDK download.

Enumeration of vehicle modes.

See also

Vehicle

Public / Constants

Aircraft

public constant Aircraft → (0:int32)

The vehicle is an aircraft and may be oriented freely using yaw, pitch and roll angles.

The geo path is used to generate GeoPathSample values, which are put into VehicleTransform.Aircraft to place the vehicle in the scene. If Vehicle.Path is null, the vehicle may be placed by setting GeoPathSample values manually. Otherwise it will be placed automatically on the path, according to the current timestamp (see ITimestampConsumer.Timestamp).

Ground

public constant Ground → (1:int32)

The vehicle is a ground vehicle and may be oriented at the terrain surface, by computing pitch and roll angles automatically.

The geo path is used to generate GroundPathSample values, which are put into VehicleTransform.Ground to place the vehicle in the scene. If Vehicle.Path is null, the vehicle may be placed by setting GroundPathSample values manually. Otherwise it will be placed automatically on the path, according to the current timestamp (see ITimestampConsumer.Timestamp).