Skip to content

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

Variable: SurfaceSchema ​

ts
const SurfaceSchema: ObjectSchema<typeof SurfaceShape, Surface>;

Defined in: packages/xml/src/schemas/generated/component-definition-schema.ts:100

Represents <surface> element in Stormworks component definition data.

XML locations:

  • <definition> / <surfaces> / <surface>
  • <definition> / <buoyancy_surfaces> / <surface>

Parent: ComponentDefinitionSchema

See ​