Skip to content

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

Interface: XmlVec3 ​

ts
interface XmlVec3 {
  x?: number;
  y?: number;
  z?: number;
}

Defined in: packages/xml/src/schemas/common.ts:29

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

If your function only reads the value and does not mutate it, prefer XmlVec3Immutable for its parameter type.

See ​

Properties ​

PropertyType

x?

number

y?

number

z?

number