Skip to content

Documentation / @sw-file-lib/xml / VehicleSchemas / DisplayImmutable

Interface: DisplayImmutable ​

ts
interface DisplayImmutable {
  readonly type?: number;
  readonly name?: string;
  readonly channel?: number;
  readonly mode?: number;
  readonly mode2?: number;
  readonly rot?: number;
  readonly col?: XmlRgbImmutable;
  readonly min?: TextValuePairImmutable;
  readonly max?: TextValuePairImmutable;
  readonly col_extra?: ColExtraImmutable;
}

Defined in: packages/xml/src/schemas/generated/vehicle-immutable.ts:446

Represents <display_*> element in Stormworks vehicle data.

XML locations:

  • <vehicle> / <bodies> / <body> / <components> / <c> / <o> / <display_*>

Parent: ComponentOImmutable

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

See ​

Properties ​

PropertyModifierType

type?

readonly

number

name?

readonly

string

channel?

readonly

number

mode?

readonly

number

mode2?

readonly

number

rot?

readonly

number

col?

readonly

XmlRgbImmutable

min?

readonly

TextValuePairImmutable

max?

readonly

TextValuePairImmutable

col_extra?

readonly

ColExtraImmutable