GameSoundEntityData
Inherits from GameEntityData
Summary
Constructors
GameSoundEntityData() |
GameSoundEntityData(guid: Guid) |
GameSoundEntityData(other: GameEntityData) |
GameSoundEntityData(other: SpatialEntityData) |
GameSoundEntityData(other: EntityData) |
GameSoundEntityData(other: GameObjectData) |
GameSoundEntityData(other: GameDataContainer) |
GameSoundEntityData(other: DataContainer) |
Properties
Name | Type |
---|---|
sound | SoundAsset | nil |
playOnCreation | bool |
Static members
Name | Type |
---|---|
GameSoundEntityData.typeInfo | TypeInformation |
Constructors
GameSoundEntityData
GameSoundEntityData()
Creates a new GameSoundEntityData frostbite instance.
GameSoundEntityData
GameSoundEntityData(guid: Guid)
Creates a new GameSoundEntityData frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
GameSoundEntityData
GameSoundEntityData(other: GameEntityData)
Casts an instance of type GameEntityData to GameSoundEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | GameEntityData | The instance to cast to GameSoundEntityData. |
GameSoundEntityData
GameSoundEntityData(other: SpatialEntityData)
Casts an instance of type SpatialEntityData to GameSoundEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | SpatialEntityData | The instance to cast to GameSoundEntityData. |
GameSoundEntityData
GameSoundEntityData(other: EntityData)
Casts an instance of type EntityData to GameSoundEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | EntityData | The instance to cast to GameSoundEntityData. |
GameSoundEntityData
GameSoundEntityData(other: GameObjectData)
Casts an instance of type GameObjectData to GameSoundEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | GameObjectData | The instance to cast to GameSoundEntityData. |
GameSoundEntityData
GameSoundEntityData(other: GameDataContainer)
Casts an instance of type GameDataContainer to GameSoundEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | GameDataContainer | The instance to cast to GameSoundEntityData. |
GameSoundEntityData
GameSoundEntityData(other: DataContainer)
Casts an instance of type DataContainer to GameSoundEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to GameSoundEntityData. |
Properties
sound
SoundAsset | nil
playOnCreation
bool
Static members
typeInfo
The type information for the GameSoundEntityData type.