World.sphereVoxelDensityAddition

Modify voxel terrain with a sphere shape

Kind: Function

Environments: Game

Game

world:sphereVoxelDensityAddition( position, radius, material, player )

Open the full Game reference

Availability: Server only

Parameters:

Name Type Description
world World The world.
position Vec3 The world position of the sphere.
radius number The radius of the sphere.
material integer The material to add [0-7].
player (optional) Player The player who constructed. (Optional)