Documentation / @sw-file-lib/xml / ComponentDefinitionSchemas / Voxel
Interface: Voxel
ts
interface Voxel {
flags?: number;
physics_shape?: number;
buoy_pipes?: number;
position?: XmlVec3;
physics_shape_rotation?: XmlMat3;
}Defined in: packages/xml/src/schemas/component-definition.ts:145
Represents <voxel> element in Stormworks component definition data.
XML location: <definition> / <voxels> / <voxel>
Parent: ComponentDefinition
If your function only reads the value and does not mutate it, prefer VoxelImmutable for its parameter type.
See
Properties
| Property | Type |
|---|---|
| |
| |
| |