Documentation / @sw-file-lib/xml / ComponentDefinitionSchemas / VoxelImmutable
Interface: VoxelImmutable
ts
interface VoxelImmutable {
readonly flags?: number;
readonly physics_shape?: number;
readonly buoy_pipes?: number;
readonly position?: XmlVec3Immutable;
readonly physics_shape_rotation?: XmlMat3Immutable;
}Defined in: packages/xml/src/schemas/generated/component-definition-immutable.ts:163
Represents <voxel> element in Stormworks component definition data.
XML location: <definition> / <voxels> / <voxel>
Parent: ComponentDefinitionImmutable
This is the recommended type for function parameters when it does not need to modify the value. Use Voxel instead if mutation is required.
See
Properties
| Property | Modifier | Type |
|---|---|---|
|
| |
|
| |
|
| |
| ||
|