UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

11 lines (7 loc) 301 B
import { Mesh, Plane, Vector4, Matrix4, MeshBasicMaterial, BufferGeometry } from 'three' export class ShadowMesh extends Mesh<BufferGeometry, MeshBasicMaterial> { readonly isShadowMesh: true meshMatrix: Matrix4 constructor(mesh: Mesh) update(plane: Plane, lightPosition4D: Vector4): void }