getSubImage method

XRWebGLSubImage getSubImage(
  1. XRCompositionLayer layer,
  2. XRFrame frame, [
  3. XREye? eye = XREye.none
])

Implementation

XRWebGLSubImage getSubImage(XRCompositionLayer layer, XRFrame frame,
        [XREye? eye = XREye.none]) =>
    js_util.callMethod(this, 'getSubImage', [layer, frame, eye?.value]);