Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>VRFrameData

Advanced Web Composition for Future
Latest
interface VRFrameData
import { type VRFrameData } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.ts";

This WebVR API export 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