Skip to content

Documentation / @sw-file-lib/xml / XmlVec3Immutable

Interface: XmlVec3Immutable ​

ts
interface XmlVec3Immutable {
  readonly x?: number;
  readonly y?: number;
  readonly z?: number;
}

Defined in: packages/xml/src/schemas/generated/common-immutable.ts:37

Represents elements with x, y, and z attributes in Stormworks XML data.

This is the recommended type for function parameters when it does not need to modify the value. Use XmlVec3 instead if mutation is required.

See ​

Properties ​

PropertyModifierType

x?

readonly

number

y?

readonly

number

z?

readonly

number