Documentation / @sw-file-lib/xml / ComponentDefinitionSchemas / SfxDataImmutable
Interface: SfxDataImmutable
ts
interface SfxDataImmutable {
readonly sfx_name?: string;
readonly sfx_range_inner?: number;
readonly sfx_range_outer?: number;
readonly sfx_priority?: number;
readonly sfx_is_underwater_affected?: boolean;
readonly sfx_layers?: readonly SfxLayerImmutable[];
}Defined in: packages/xml/src/schemas/generated/component-definition-immutable.ts:68
Represents <sfx_data> element in Stormworks component definition data.
XML location: <definition> / <sfx_datas> / <sfx_data>
Parent: ComponentDefinitionImmutable
This is the recommended type for function parameters when it does not need to modify the value. Use SfxData instead if mutation is required.
See
Properties
| Property | Modifier | Type |
|---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
| readonly |