Documentation / @sw-file-lib/xml / ComponentDefinitionSchemas / Surface
Interface: Surface
ts
interface Surface {
orientation?: number;
rotation?: number;
shape?: number;
trans_type?: number;
flags?: number;
is_reverse_normals?: boolean;
is_two_sided?: boolean;
position?: XmlVec3;
}Defined in: packages/xml/src/schemas/component-definition.ts:71
Represents <surface> element in Stormworks component definition data.
XML locations:
<definition> / <surfaces> / <surface><definition> / <buoyancy_surfaces> / <surface>
Parent: ComponentDefinition
If your function only reads the value and does not mutate it, prefer SurfaceImmutable for its parameter type.
See
Properties
| Property | Type |
|---|---|
| |
| |
| |
| |
| |
| |
| |