LogoPixi’VN
indexType aliases

Type Alias: PixiVNJsonSoundPlay

> PixiVNJsonSoundPlay = object

Defined in: src/schema/PixiVNJsonSound.ts:6

Starts playback of a sound asset.

Properties

alias

> alias: string

Defined in: src/schema/PixiVNJsonSound.ts:12

Unique identifier (alias) used to reference this sound.


operationType

> operationType: "play"

Defined in: src/schema/PixiVNJsonSound.ts:8


props?

> optional props?: SoundPlayOptionsWithChannel

Defined in: src/schema/PixiVNJsonSound.ts:20

Playback options such as volume, loop, channel, and start offset.


type

> type: "sound"

Defined in: src/schema/PixiVNJsonSound.ts:7


url?

> optional url?: string

Defined in: src/schema/PixiVNJsonSound.ts:16

URL of the sound file. If omitted, the alias is used as the URL.