Documentation / @sw-file-lib/xml / XmlVec2Immutable
Interface: XmlVec2Immutable
ts
interface XmlVec2Immutable {
readonly x?: number;
readonly y?: number;
}Defined in: packages/xml/src/schemas/generated/common-immutable.ts:23
Represents elements with x and y attributes in Stormworks XML data.
This is the recommended type for function parameters when it does not need to modify the value. Use XmlVec2 instead if mutation is required.
See
Properties
| Property | Modifier | Type |
|---|---|---|
|
| |
|
|