Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

This WebVR API export interface represents the state of a VR sensor at a given timestamp (which includes orientation, position, velocity, and acceleration information.)

Properties

readonly
angularAcceleration: Float32Array | null
readonly
angularVelocity: Float32Array | null
readonly
linearAcceleration: Float32Array | null
readonly
linearVelocity: Float32Array | null
readonly
orientation: Float32Array | null
readonly
position: Float32Array | null
readonly
timestamp: number