UE4 Cardboard VR  1.0.2
Unreal Engine 4 plugin to run UE4 mobile VR projects on iOS and Android devices using Google Cardboard VR viewers.
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
UUNACardboardVRSubsystem Class Reference

The game instance subsystem of the UNACardboardVR plugin. More...

#include <UNACardboardVRSubsystem.h>

Inheritance diagram for UUNACardboardVRSubsystem:

Public Member Functions

 DECLARE_DYNAMIC_MULTICAST_DELEGATE (FSettingsMenuEvent)
 FSettingsMenuEvent delegate signature. More...
 
 DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam (FStereoModeEvent, bool, bStereoEnabled)
 FStereoModeEvent delegate signature. More...
 

Static Public Member Functions

static UUNACardboardVRSubsystemGetInstance (const UObject *context)
 Return the CardboardVR Subsystem instance. More...
 

Public Attributes

FSettingsMenuEvent OnSettingsMenuOpened
 Delegate called when the settings menu is opened by a user interaction with the Cardboard UI overlay. More...
 
FStereoModeEvent OnStereoModeChanged
 Delegate called when the stereo mode has changed following a user interaction with the Cardboard UI overlay. More...
 

Detailed Description

The game instance subsystem of the UNACardboardVR plugin.

Other useful run-time methods are in the UUNACardboardVRStatics class.

Member Function Documentation

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE()

UUNACardboardVRSubsystem::DECLARE_DYNAMIC_MULTICAST_DELEGATE ( FSettingsMenuEvent  )

FSettingsMenuEvent delegate signature.

◆ DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam()

UUNACardboardVRSubsystem::DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam ( FStereoModeEvent  ,
bool  ,
bStereoEnabled   
)

FStereoModeEvent delegate signature.

◆ GetInstance()

static UUNACardboardVRSubsystem& UUNACardboardVRSubsystem::GetInstance ( const UObject *  context)
static

Return the CardboardVR Subsystem instance.

Member Data Documentation

◆ OnSettingsMenuOpened

FSettingsMenuEvent UUNACardboardVRSubsystem::OnSettingsMenuOpened

Delegate called when the settings menu is opened by a user interaction with the Cardboard UI overlay.

This is fired only if the button is shown on screen (see UUNACardboardVRProjectSettings and UUNACardboardVRStatics).

◆ OnStereoModeChanged

FStereoModeEvent UUNACardboardVRSubsystem::OnStereoModeChanged

Delegate called when the stereo mode has changed following a user interaction with the Cardboard UI overlay.

This is fired only if the button is shown on screen (see UUNACardboardVRProjectSettings and UUNACardboardVRStatics).


The documentation for this class was generated from the following file: