DriverComponentData

Inherits from ComponentData

Summary

Constructors

DriverComponentData()
DriverComponentData(guid: Guid)
DriverComponentData(other: ComponentData)
DriverComponentData(other: GameObjectData)
DriverComponentData(other: GameDataContainer)
DriverComponentData(other: DataContainer)

Properties

Name Type
wantedSpeed float
settings DriverSettings | nil

Static members

Name Type
DriverComponentData.typeInfo TypeInformation

Constructors

DriverComponentData

DriverComponentData()

Creates a new DriverComponentData frostbite instance.

DriverComponentData

DriverComponentData(guid: Guid)

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

Parameters

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

DriverComponentData

DriverComponentData(other: ComponentData)

Casts an instance of type ComponentData to DriverComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ComponentData The instance to cast to DriverComponentData.

DriverComponentData

DriverComponentData(other: GameObjectData)

Casts an instance of type GameObjectData to DriverComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to DriverComponentData.

DriverComponentData

DriverComponentData(other: GameDataContainer)

Casts an instance of type GameDataContainer to DriverComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to DriverComponentData.

DriverComponentData

DriverComponentData(other: DataContainer)

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

Parameters

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

Properties

wantedSpeed

float

settings

DriverSettings | nil

Static members

typeInfo

TypeInformation

The type information for the DriverComponentData type.

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