DriftCapture · interface

MeshHit

Explained in DriftCapture.

interface MeshHit
import type { MeshHit } from '@driftengine/capture';

Properties

NameTypeDescription
trianglereadonlynumber
distancereadonlynumber
weightsreadonlyreadonly [number, number, number]Barycentric weights of the three corners, in order.