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

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

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.VRPose
import { type dom } from "https://deno.land/x/evt@v2.4.19/lib/types/index.ts";
const { VRPose } = dom;

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