SoundAsset

Inherits from Asset

Summary

Constructors

SoundAsset()
SoundAsset(guid: Guid)
SoundAsset(other: Asset)
SoundAsset(other: DataContainer)

Properties

Name Type
scope SoundScopeData | nil

Static members

Name Type
SoundAsset.typeInfo TypeInformation

Constructors

SoundAsset

SoundAsset()

Creates a new SoundAsset frostbite instance.

SoundAsset

SoundAsset(guid: Guid)

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

Parameters

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

SoundAsset

SoundAsset(other: Asset)

Casts an instance of type Asset to SoundAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other Asset The instance to cast to SoundAsset.

SoundAsset

SoundAsset(other: DataContainer)

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

Parameters

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

Properties

scope

SoundScopeData | nil

Static members

typeInfo

TypeInformation

The type information for the SoundAsset type.

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