Method Voxelize
Voxelize(OccurrenceList, double, ElementFilter, int, bool)
Replace the tessellations of the selected parts by a voxelization of the external skin
Declaration
[HandleProcessCorruptedStateExceptions]
public uint Voxelize(OccurrenceList occurrences, double voxelSize, ElementFilter elements = ElementFilter.Polygons, int dilation = 0, bool useCurrentAnimationPosition = false)
Parameters
| Type | Name | Description |
|---|---|---|
| OccurrenceList | occurrences | Part occurrences to process |
| double | voxelSize | Size of voxels |
| ElementFilter | elements | Type of elements used to detect the voxels, polygons or points or hybrid |
| int | dilation | Dilation iterations on the voxel grid |
| bool | useCurrentAnimationPosition | Use the current animation position instead of the t-pose |
Returns
| Type | Description |
|---|---|
| uint |