跳转到内容

VoxelShape

此内容尚不支持你的语言。

VoxelShape = { center: VoxelPoint; kind: "sphere"; radius: number; } | { center: VoxelPoint; halfExtents: VoxelPoint; kind: "box"; } | { from: VoxelPoint; kind: "capsule"; radius: number; to: VoxelPoint; }

Defined in: sdk/src/voxel/field.ts:35

A shape to carve with or fill by, in the coordinates of the field.