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: 26 November, 2024