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

IOculusXRInputModule Class

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

Member Functions

GetInputDevice ()
Signature
virtual TSharedPtr<IInputDevice> IOculusXRInputModule::GetInputDevice() const =0
Returns
TSharedPtr< IInputDevice >
GetNumberOfHandControllers ()
Gets the number of hands that are active, so that games that require them can check to make sure they're present
Signature
virtual uint32 IOculusXRInputModule::GetNumberOfHandControllers() const =0
Returns
uint32  The number of Hands that are active (but not necessarily tracked)
GetNumberOfTouchControllers ()
Gets the number of Touch controllers that are active, so that games that require them can check to make sure they're present
Signature
virtual uint32 IOculusXRInputModule::GetNumberOfTouchControllers() const =0
Returns
uint32  The number of Touch controllers that are active (but not necessarily tracked)

Static Member Functions

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.
Signature
static IOculusXRInputModule& IOculusXRInputModule::Get()
Returns
IOculusXRInputModule &  Returns singleton instance, loading the module on demand if needed
IsAvailable ()
Checks to see if this module is loaded and ready. It is only valid to call Get() if IsAvailable() returns true.
Signature
static bool IOculusXRInputModule::IsAvailable()
Returns
bool  True if the module is loaded and ready to use