Skip to content

Documentation / @sw-file-lib/xml / ComponentDefinitionSchemas / LogicNode

Interface: LogicNode ​

ts
interface LogicNode {
  orientation?: number;
  label?: string;
  mode?: number;
  type?: number;
  description?: string;
  flags?: number;
  position?: XmlVec3;
}

Defined in: packages/xml/src/schemas/component-definition.ts:96

Represents <logic_node> element in Stormworks component definition data.

XML location: <definition> / <logic_nodes> / <logic_node>

Parent: ComponentDefinition

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

See ​

Properties ​

PropertyType

orientation?

number

label?

string

mode?

number

type?

number

description?

string

flags?

number

position?

XmlVec3