World.getWeightedVoxelDensityInWorldPoint

Get weighted voxel density in world point.

Kind: Function

Environments: Game

Game

world:getWeightedVoxelDensityInWorldPoint( point )

Open the full Game reference

Parameters:

Name Type Description
world World The world to look in.
point Vec3 The world space point to check density in.

Returns:

Type Description
number Weighted density. (returns 0 if world doesn't have voxels)
Vec3 Weighted direction of voxel influence.