GearboxConfigData

Inherits from DataContainer

Summary

Constructors

GearboxConfigData()
GearboxConfigData(guid: Guid)
GearboxConfigData(other: DataContainer)

Properties

Name Type
forwardGearRatios float[]
forwardGearSpeeds float[]
reverseGearRatios float[]
reverseGearSpeeds float[]
gearboxType int
gearboxMode int
gearChangeTime float
gearDownSpeedFactor float
oppositeDirGearChangeMaxSpeed float
oppositeDirGearChangeTime float
clutchSpeedFactor float
transmissionEfficiency float
backwardThrottleLimit float
useClassicGearBoxAutoClutch bool
useNeutralGear bool
limitBackwardThrottle bool
useAutoClutch bool

Static members

Name Type
GearboxConfigData.typeInfo TypeInformation

Constructors

GearboxConfigData

GearboxConfigData()

Creates a new GearboxConfigData frostbite instance.

GearboxConfigData

GearboxConfigData(guid: Guid)

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

Parameters

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

GearboxConfigData

GearboxConfigData(other: DataContainer)

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

Parameters

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

Properties

forwardGearRatios

float[]

forwardGearSpeeds

float[]

reverseGearRatios

float[]

reverseGearSpeeds

float[]

gearboxType

int

gearboxMode

int

gearChangeTime

float

gearDownSpeedFactor

float

oppositeDirGearChangeMaxSpeed

float

oppositeDirGearChangeTime

float

clutchSpeedFactor

float

transmissionEfficiency

float

backwardThrottleLimit

float

useClassicGearBoxAutoClutch

bool

useNeutralGear

bool

limitBackwardThrottle

bool

useAutoClutch

bool

Static members

typeInfo

TypeInformation

The type information for the GearboxConfigData type.

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