Class Hand

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(): Hand

Returns

Hand

Properties

public direction: Vector3

public fingers: Finger[]

public frame: Frame

public id: number

public palmNormal: Vector3

public palmPosition: Vector3

public palmVelocity: Vector3

public pointables: Pointable[]

public rotation: Matrix

public scaleFactorNumber: number

public sphereCenter: Vector3

public sphereRadius: number

public tools: Tool[]

public translationVector: Vector3

Methods

public finger(id: number): Finger

Parameters

  • id: number

Returns

Finger

public static invalid(): Hand

Returns

Hand

public isEqualTo(other: Hand): boolean

Parameters

Returns

boolean

public isValid(): boolean

Returns

boolean

public pointable(id: number): Pointable

Parameters

  • id: number

Returns

Pointable

public rotationAngle(sinceFrame: Frame, axis?: Vector3): number

Parameters

Returns

number

public rotationAxis(sinceFrame: Frame): Vector3

Parameters

Returns

Vector3

public rotationMatrix(sinceFrame: Frame): Matrix

Parameters

Returns

Matrix

public scaleFactor(sinceFrame: Frame): number

Parameters

Returns

number

public tool(id: number): Tool

Parameters

  • id: number

Returns

Tool

public translation(sinceFrame: Frame): Vector3

Parameters

Returns

Vector3