Properties
fluidDensity
fluidDensity: number
material
material: string | string[]
onCustomMeshCreate
onCustomMeshCreate: ((mesh, x, y, z) => void)
Type declaration
-
- (mesh, x, y, z): void
-
Parameters
-
mesh: TransformNode
-
x: number
-
y: number
-
z: number
Returns void
onLoad
onLoad: ((x, y, z) => void)
Type declaration
-
- (x, y, z): void
-
Parameters
-
x: number
-
y: number
-
z: number
Returns void
onSet
onSet: ((x, y, z) => void)
Type declaration
-
- (x, y, z): void
-
Parameters
-
x: number
-
y: number
-
z: number
Returns void
onUnload
onUnload: ((x, y, z) => void)
Type declaration
-
- (x, y, z): void
-
Parameters
-
x: number
-
y: number
-
z: number
Returns void
onUnset
onUnset: ((x, y, z) => void)
Type declaration
-
- (x, y, z): void
-
Parameters
-
x: number
-
y: number
-
z: number
Returns void
viscosity
viscosity: number
Default options when registering a block type