getController method
Returns a group representing the target ray
space of the XR controller.
Use this space for visualizing 3D objects that support the user in pointing
tasks like UI interaction.
@param {number} index - The index of the controller.
@return {Group} A group representing the target ray
space.
/
Implementation
WebXRController? getController (int index ) {
WebXRController? controller = _getController( index );
return controller?.getTargetRaySpace();
}