API reference
API reference
Select your platform
No SDKs available
No versions available

IOculusXRInputModule Class

IOculusXRInputModule extends IInputDeviceModule.

Overview

Static Public Member Functions

Get ( )
static bool

Public Member Functions

uint32
uint32
TSharedPtr< IInputDevice >

Details

Detailed Description

The public interface to this module. In most cases, this interface is only public to sibling modules within this plugin.

Static Member Functions

static IOculusXRInputModule& IOculusXRInputModule::Get ( )
Singleton-like access to this module's interface. This is just for convenience! Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.
Returns
Returns singleton instance, loading the module on demand if needed
static bool IOculusXRInputModule::IsAvailable ( )
Checks to see if this module is loaded and ready. It is only valid to call Get() if IsAvailable() returns true.
Returns
True if the module is loaded and ready to use

Member Functions

virtual uint32 IOculusXRInputModule::GetNumberOfTouchControllers ( )
Gets the number of Touch controllers that are active, so that games that require them can check to make sure they're present
Returns
The number of Touch controllers that are active (but not necessarily tracked)
virtual uint32 IOculusXRInputModule::GetNumberOfHandControllers ( )
Gets the number of hands that are active, so that games that require them can check to make sure they're present
Returns
The number of Hands that are active (but not necessarily tracked)
virtual TSharedPtr<IInputDevice> IOculusXRInputModule::GetInputDevice ( )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon