UNPKG

@needle-tools/engine

Version:

Needle Engine is a web-based runtime for 3D apps. It runs on your machine for development with great integrations into editors like Unity or Blender - and can be deployed onto any device! It is flexible, extensible and networking and XR are built-in.

6 lines (5 loc) 247 B
import { Texture, WebGLRenderer } from "three"; /** * Assigns the camera feed to a texture - this must be called during the render loop */ export declare function updateTextureFromXRFrame(renderer: WebGLRenderer, target: Texture): boolean;