VehicleState

Inherits from MetricState

Summary

Constructors

VehicleState()
VehicleState(guid: Guid)
VehicleState(other: MetricState)
VehicleState(other: MetricEvent)
VehicleState(other: DataContainer)

Properties

Name Type
vehicleName string

Static members

Name Type
VehicleState.typeInfo TypeInformation

Constructors

VehicleState

VehicleState()

Creates a new VehicleState frostbite instance.

VehicleState

VehicleState(guid: Guid)

Creates a new VehicleState frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

VehicleState

VehicleState(other: MetricState)

Casts an instance of type MetricState to VehicleState. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other MetricState The instance to cast to VehicleState.

VehicleState

VehicleState(other: MetricEvent)

Casts an instance of type MetricEvent to VehicleState. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other MetricEvent The instance to cast to VehicleState.

VehicleState

VehicleState(other: DataContainer)

Casts an instance of type DataContainer to VehicleState. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to VehicleState.

Properties

vehicleName

string

Static members

typeInfo

TypeInformation

The type information for the VehicleState type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351)