Documentation / @sw-file-lib/xml / ComponentDefinitionSchemas / SfxLayer
Interface: SfxLayer
ts
interface SfxLayer {
sfx_filename_start?: string;
sfx_filename_loop?: string;
sfx_filename_end?: string;
sfx_gain?: number;
sfx_loop_start_time?: number;
sfx_loop_blend_duration?: number;
sfx_volume_fade_speed?: number;
sfx_pitch_fade_speed?: number;
}Defined in: packages/xml/src/schemas/component-definition.ts:20
Represents <sfx_layer> element in Stormworks component definition data.
XML location: <definition> / <sfx_datas> / <sfx_data> / <sfx_layers> / <sfx_layer>
Parent: SfxData
If your function only reads the value and does not mutate it, prefer SfxLayerImmutable for its parameter type.
See
Properties
| Property | Type |
|---|---|
| |
| |
| |
| |
| |
| |
| |
|