Skip to main content

Function: unmetRequirements()

function unmetRequirements(capabilities: InputCapabilities, requirements: readonly (
| "rays"
| "pokes"
| "grabs"
| "handJoints"
| "pinch"
| "buttonsAxes"
| "gaze"
| "pointer2d"
| "headPose"
| "haptics"
| "presence"
| "grabsNative")[]): (
| "rays"
| "pokes"
| "grabs"
| "handJoints"
| "pinch"
| "buttonsAxes"
| "gaze"
| "pointer2d"
| "headPose"
| "haptics"
| "presence"
| "grabsNative")[];

Defined in: capabilities.ts:103

The subset of requirements that capabilities does NOT satisfy.

Parameters

ParameterType
capabilitiesInputCapabilities
requirementsreadonly ( | "rays" | "pokes" | "grabs" | "handJoints" | "pinch" | "buttonsAxes" | "gaze" | "pointer2d" | "headPose" | "haptics" | "presence" | "grabsNative")[]

Returns

( | "rays" | "pokes" | "grabs" | "handJoints" | "pinch" | "buttonsAxes" | "gaze" | "pointer2d" | "headPose" | "haptics" | "presence" | "grabsNative")[]