onAnimationFrame method

void onAnimationFrame(
  1. double time
)

Implementation

void onAnimationFrame(double time) {
  // if ( xr.isPresenting ) return;
  if (onAnimationFrameCallback != null) onAnimationFrameCallback!(time);
}