Method ReplaceByPrimitive
ReplaceByPrimitive(OccurrenceList, PrimitiveShapeParameters, bool)
Replace objects by a primitive shapes
Declaration
public void ReplaceByPrimitive(OccurrenceList occurrences, PrimitiveShapeParameters primitive, bool generateUV = true)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences of components to replace |
PrimitiveShapeParameters | primitive | Primitive type and parameters |
bool | generateUV | Primitive type and parameters |