Share via


cancelAnimationFrame method

The cancelAnimationFrame method takes the handle returned by requestAnimationFrame and unregisters the callback.

Syntax

var retval = VRDisplay.cancelAnimationFrame(handle);

Parameters

  • handle
    Type: long

Return value

This method does not return a value.

See also

VRDisplay