Skip to content

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

Interface: MicroprocessorNodePositionImmutable ​

ts
interface MicroprocessorNodePositionImmutable {
  readonly x?: number;
  readonly z?: number;
}

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

Represents <position> element in Stormworks vehicle data.

XML location: <vehicle> / <bodies> / <body> / <components> / <c> / <o> / <microprocessor_definition> / <nodes> / <n> / <node> / <position>

Parent: MicroprocessorNodeImmutable

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

See ​

Properties ​

PropertyModifierType

x?

readonly

number

z?

readonly

number