VoxelEditOptions
Defined in: sdk/src/voxel/field.ts:44
Properties
Section titled “Properties”
optionalkeep?: (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.
Parameters
Section titled “Parameters”material
Section titled “material”number
Returns
Section titled “Returns”boolean
material?
Section titled “material?”
optionalmaterial?:number
Defined in: sdk/src/voxel/field.ts:46
What add fills with and paint paints. Defaults to 0.
smooth?
Section titled “smooth?”
optionalsmooth?: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.