SoundEventAsset
此内容尚不支持你的语言。
Defined in: audio/SoundEvent.ts:11
Versioned .esaudioevent document shared by authoring and playback.
Properties
Section titled “Properties”bus:
string
Defined in: audio/SoundEvent.ts:18
clips:
SoundEventClip[]
Defined in: audio/SoundEvent.ts:13
cooldown
Section titled “cooldown”cooldown:
number
Defined in: audio/SoundEvent.ts:23
Seconds on the consumer’s simulation clock.
maxInstances
Section titled “maxInstances”maxInstances:
number
Defined in: audio/SoundEvent.ts:21
0 means unlimited. Pending loads and paused voices still own a slot.
mode:
SoundEventMode
Defined in: audio/SoundEvent.ts:14
playbackRate
Section titled “playbackRate”playbackRate: [
number,number]
Defined in: audio/SoundEvent.ts:17
Playback rate changes both pitch and duration; this is not time stretching.
priority
Section titled “priority”priority:
number
Defined in: audio/SoundEvent.ts:19
spatial?
Section titled “spatial?”
optionalspatial?:SpatialAudioConfig
Defined in: audio/SoundEvent.ts:24
version
Section titled “version”version:
1
Defined in: audio/SoundEvent.ts:12
volume
Section titled “volume”volume: [
number,number]
Defined in: audio/SoundEvent.ts:15