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>GamepadPose

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

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

Properties

readonly
angularAcceleration: Float32Array | null
readonly
angularVelocity: Float32Array | null
readonly
hasOrientation: boolean
readonly
hasPosition: boolean
readonly
linearAcceleration: Float32Array | null
readonly
linearVelocity: Float32Array | null
readonly
orientation: Float32Array | null
readonly
position: Float32Array | null