S&box Wiki

Revision Difference

func_voxelsurface#547330

<title>func_voxelsurface</title> # func_voxelsurface A procedurally breakable voxel surface. `This entity requires a mesh to function` ⤶ ### Keyvalues⤶ ⤶ ## Code Path⤶ ⤶ Entity Code : `addons\base\code\Entity\Experimental\Voxel\VoxelSurface.cs` ⤶ ⤶ ## Keyvalues⤶ **Name (`targetname`)** >* The name that other entities refer to this entity by. **Tags (`tags`)** >* A list of general purpose tags for this entity, for interactions with other entities such as triggers. **Width (`width`)** >* How many voxels on the width (Limited to 64). **Height (`height`)** >* How many voxels on the height (Limited to 64). **Thickness (`thickness`)** >* How thick is the surface (Limited to 64). **Material (`material`)** >* Material to use for the surface. **Frozen (`frozen`)** >* Is the panel frozen. **Shadow Casting (`enable_shadows`)** >* Whether this entity should cast shadows or not.