getController method

dynamic getController(
  1. int index
)

Implementation

getController (int index ) {
  var controller = controllers[ index ];

  if ( controller == null ) {
    controller = WebXRController();
    controllers[ index ] = controller;
  }

  return controller.getTargetRaySpace();
}