Revision Difference
func_voxelsurface#547338
<title>func_voxelsurface</title>
# func_voxelsurface
A procedurally breakable voxel surface.
`This entity requires a mesh to function`
⤶
## Code Path⤶
⤶
Entity Code : `addons\base\code\Entity\Experimental\Voxel\VoxelSurface.cs` ⤶
⤶
In code, it is defined in the `VoxelSurface.cs` file under `addons\base\code\Entity\Experimental\Voxel`.⤶
## 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.