Skip to main content
Module

x/evt/mod.ts>dom.VRFrameData

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.VRFrameData
import { type dom } from "https://deno.land/x/evt@v2.4.13/mod.ts";
const { VRFrameData } = dom;

This WebVR API interface represents all the information needed to render a single frame of a VR scene; constructed by VRDisplay.getFrameData().

Properties

readonly
leftProjectionMatrix: Float32Array
readonly
leftViewMatrix: Float32Array
readonly
pose: VRPose
readonly
rightProjectionMatrix: Float32Array
readonly
rightViewMatrix: Float32Array
readonly
timestamp: number