Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.VRFrameData

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.VRFrameData
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.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