getColor Method

Get color interpolated from facet data.

getColor(facetColors?: number[], facetVertices?: IndexedXYZCollection, distanceTolerance: numberGeometry.smallMetricDistance): undefined | number

@returns cached color

Parameter Type Description
facetColors number[] used to compute the color cache
facetVertices IndexedXYZCollection used to compute the barycentric coordinate cache
distanceTolerance number used to compute the barycentric coordinate cache

Returns - undefined | number

cached color

Defined in

Last Updated: 17 December, 2024