WebXRInterface.getController

Gets an ARVRPositionalTracker for the given controller_id. In the context of WebXR, a "controller" can be an advanced VR controller like the Oculus Touch or Index controllers, or even a tap on the screen, a spoken voice command or a button press on the device itself. When a non-traditional controller is used, interpret the position and orientation of the ARVRPositionalTracker as a ray pointing at the object the user wishes to interact with. Use this method to get information about the controller that triggered one of these signals: - selectstart - select - selectend - squeezestart - squeeze - squeezestart

struct WebXRInterface
@nogc nothrow const
getController
()

Meta