SoundEntityData

Inherits from EntityData

Summary

Constructors

SoundEntityData()
SoundEntityData(guid: Guid)
SoundEntityData(other: EntityData)
SoundEntityData(other: GameObjectData)
SoundEntityData(other: GameDataContainer)
SoundEntityData(other: DataContainer)

Properties

Name Type
transform LinearTransform
sound SoundAsset | nil
obstructionHandle int
playOnCreation bool

Static members

Name Type
SoundEntityData.typeInfo TypeInformation

Constructors

SoundEntityData

SoundEntityData()

Creates a new SoundEntityData frostbite instance.

SoundEntityData

SoundEntityData(guid: Guid)

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

Parameters

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

SoundEntityData

SoundEntityData(other: EntityData)

Casts an instance of type EntityData to SoundEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other EntityData The instance to cast to SoundEntityData.

SoundEntityData

SoundEntityData(other: GameObjectData)

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

Parameters

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

SoundEntityData

SoundEntityData(other: GameDataContainer)

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

Parameters

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

SoundEntityData

SoundEntityData(other: DataContainer)

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

Parameters

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

Properties

transform

LinearTransform

sound

SoundAsset | nil

obstructionHandle

int

playOnCreation

bool

Static members

typeInfo

TypeInformation

The type information for the SoundEntityData type.

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