Skip to content

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

Interface: Display ​

ts
interface Display {
  type?: number;
  name?: string;
  channel?: number;
  mode?: number;
  mode2?: number;
  rot?: number;
  col?: XmlRgb;
  min?: TextValuePair;
  max?: TextValuePair;
  col_extra?: ColExtra;
}

Defined in: packages/xml/src/schemas/vehicle.ts:412

Represents <display_*> element in Stormworks vehicle data.

XML locations:

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

Parent: ComponentO

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

See ​

Properties ​

PropertyType

type?

number

name?

string

channel?

number

mode?

number

mode2?

number

rot?

number

col?

XmlRgb

min?

TextValuePair

max?

TextValuePair

col_extra?

ColExtra