Skip to content

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

Interface: XmlMat3Immutable ​

ts
interface XmlMat3Immutable {
  readonly 00?: number;
  readonly 01?: number;
  readonly 02?: number;
  readonly 10?: number;
  readonly 11?: number;
  readonly 12?: number;
  readonly 20?: number;
  readonly 21?: number;
  readonly 22?: number;
}

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

Represents elements with 00, 01, 02, 10, 11, 12, 20, 21, and 22 attributes in Stormworks XML data.

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

See ​

Properties ​

PropertyModifierType

00?

readonly

number

01?

readonly

number

02?

readonly

number

10?

readonly

number

11?

readonly

number

12?

readonly

number

20?

readonly

number

21?

readonly

number

22?

readonly

number