EngineConfigData

Inherits from DataContainer

Summary

Constructors

EngineConfigData()
EngineConfigData(guid: Guid)
EngineConfigData(other: DataContainer)

Properties

Name Type
position Vec3
rpmCurvePoints float[]
torqueCurvePoints float[]
rpmMin float
rpmMax float
rpmCut float
enginePowerMultiplier float
internalAccelerationFactor float
internalDeaccelerationFactor float
boost Boost

Static members

Name Type
EngineConfigData.typeInfo TypeInformation

Constructors

EngineConfigData

EngineConfigData()

Creates a new EngineConfigData frostbite instance.

EngineConfigData

EngineConfigData(guid: Guid)

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

Parameters

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

EngineConfigData

EngineConfigData(other: DataContainer)

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

Parameters

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

Properties

position

Vec3

rpmCurvePoints

float[]

torqueCurvePoints

float[]

rpmMin

float

rpmMax

float

rpmCut

float

enginePowerMultiplier

float

internalAccelerationFactor

float

internalDeaccelerationFactor

float

boost

Boost

Static members

typeInfo

TypeInformation

The type information for the EngineConfigData type.

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