Documentation / @sw-file-lib/xml / ComponentDefinitionSchemas / SfxData
Interface: SfxData
ts
interface SfxData {
sfx_name?: string;
sfx_range_inner?: number;
sfx_range_outer?: number;
sfx_priority?: number;
sfx_is_underwater_affected?: boolean;
sfx_layers?: SfxLayer[];
}Defined in: packages/xml/src/schemas/component-definition.ts:45
Represents <sfx_data> element in Stormworks component definition data.
XML location: <definition> / <sfx_datas> / <sfx_data>
Parent: ComponentDefinition
If your function only reads the value and does not mutate it, prefer SfxDataImmutable for its parameter type.
See
Properties
| Property | Type |
|---|---|
| |
| |
| |
| |
| |
|