Method CreateVertexWeightsFromVisibilityAttributes
CreateVertexWeightsFromVisibilityAttributes(OccurrenceList, double, double)
Use visibility attributes on meshes of the given occurrence to create vertex weights attributes used by the decimation functions. The finals weights will be computed with w = offset + (visibility/maxVisibility) * scale
Declaration
public void CreateVertexWeightsFromVisibilityAttributes(OccurrenceList occurrences, double offset = 0, double scale = 1)
Parameters
Type | Name | Description |
---|---|---|
OccurrenceList | occurrences | Occurrences of components to process |
double | offset | Offset value for weight computation |
double | scale | Scale value for weight computation |