Skip to main content

Interface: SoundAsset

Properties

lazy?

optional lazy: boolean

If true, the sound will not be fully loaded until it is needed. Default is false. Lazy loading is useful for sounds involved in localization. These should be lazy loaded because they may not be needed.

Source

SoundAsset.ts:11


soundName

soundName: string

Name of the sound to use when referring to it within m2c2kit, such as when creating a SoundPlayer node.

Source

SoundAsset.ts:4


url

url: string

URL of sound to load

Source

SoundAsset.ts:6