[Go to site: main page, start]

Interface VFXPositionalSoundData

interface VFXPositionalSoundData {
    align: number;
    easing: boolean;
    radius: number;
    src: string;
    volume: number;
    walls: boolean;
}
Index

Properties

align: number

How sound playback aligns with animation, a value in SOUND_ALIGNMENT (default END)

easing: boolean

Whether to apply easing to local sound (default true)

radius: number

Local sound radius in distance units (default 60)

src: string

Sound source path

volume: number

Playback volume (default 1.0)

walls: boolean

Whether sound should be constrained by walls (default true)