getFoveation method

double? getFoveation()

Returns the amount of foveation used by the XR compositor for the projection layer.

@return {number} The amount of foveation. /

Implementation

double? getFoveation() {
  if ( glProjLayer == null && glBaseLayer == null ) {
    return null;
  }
  return foveation;
}