EngineComponentData

Inherits from ComponentData

Summary

Constructors

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

Properties

Name Type
config EngineConfigData | nil
soundEffect SoundAsset | nil
surfaceSoundEffect SoundAsset | nil
useFirstPersonSounds bool
outputIsEngineInWater bool

Static members

Name Type
EngineComponentData.typeInfo TypeInformation

Constructors

EngineComponentData

EngineComponentData()

Creates a new EngineComponentData frostbite instance.

EngineComponentData

EngineComponentData(guid: Guid)

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

Parameters

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

EngineComponentData

EngineComponentData(other: ComponentData)

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

Parameters

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

EngineComponentData

EngineComponentData(other: GameObjectData)

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

Parameters

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

EngineComponentData

EngineComponentData(other: GameDataContainer)

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

Parameters

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

EngineComponentData

EngineComponentData(other: DataContainer)

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

Parameters

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

Properties

config

EngineConfigData | nil

soundEffect

SoundAsset | nil

surfaceSoundEffect

SoundAsset | nil

useFirstPersonSounds

bool

outputIsEngineInWater

bool

Static members

typeInfo

TypeInformation

The type information for the EngineComponentData type.

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