UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

14 lines 635 B
/** * Renders a given object to sampler, framed exactly form the front. Additional focus parameters can be supplied to adjust the framing * @param {Sampler2D} target * @param {THREE.Object3D|THREE.Mesh} mesh * @param {THREE.WebGLRenderer} [renderer] * @param {AABB2} [focus] * @returns {{render:Function,dispose:Function}} */ export function renderObjectToSampler2D(target: Sampler2D, mesh: THREE.Object3D | THREE.Mesh, renderer?: THREE.WebGLRenderer, focus?: AABB2): { render: Function; dispose: Function; }; import AABB2 from "../../../core/geom/2d/aabb/AABB2.js"; //# sourceMappingURL=renderObjectToSampler2D.d.ts.map