跳转到内容

VoxelEditOptions

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

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

optional keep?: (material) => boolean

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

Materials this edit cannot change, by a function of the material: stone a pick cannot break.

number

boolean


optional material?: number

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

What add fills with and paint paints. Defaults to 0.


optional smooth?: number

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

How far the shape’s edge melts into what it meets, in world units. 0 keeps it sharp.