Navigation
API > API/Plugins > API/Plugins/XRBase
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UVRNotificationsComponent
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/VRNotificationsComponent.h |
| Include | #include "VRNotificationsComponent.h" |
Syntax
UCLASS&40;Blueprintable, Meta&61;&40;BlueprintSpawnableComponent&41;, ClassGroup&61;HeadMountedDisplay&41;
class UVRNotificationsComponent : public UActorComponent
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVRNotificationsDelegate | HMDConnectCanceledDelegate | This will be called when the user declines to connect the HMD when prompted to do so by a system dialog. (PS4 Only) | |
| FVRNotificationsDelegate | HMDLostDelegate | This will be called when connection to HMD is lost. | |
| FVRNotificationsDelegate | HMDPutOnHeadDelegate | This will be called when the HMD detects that it has been put on by a player. | |
| FVRNotificationsDelegate | HMDRecenteredDelegate | This will be called when the application is asked for VR headset recenter. | |
| FVRNotificationsDelegate | HMDReconnectedDelegate | This will be called when connection to HMD is restored. | |
| FVRNotificationsDelegate | HMDRemovedFromHeadDelegate | This will be called when the HMD detects that it has been taken off by a player (disconnecting the hmd also causes it to register as taken off). | |
| FVRNotificationsDelegate | HMDTrackingInitializedDelegate | This will be called on Morpheus when the HMD is done initializing and therefore reprojection will start functioning. | |
| FVRNotificationsDelegate | HMDTrackingInitializingAndNeedsHMDToBeTrackedDelegate | This will be called on Morpheus if the HMD starts up and is not fully initialized (in NOT_STARTED or CALIBRATING states). | |
| FVRNotificationsDelegate | VRControllerRecenteredDelegate | This will be called when the VR system recenters a controller. | |
| FVRNotificationsDelegate | XRInteractionProfileChangedDelegate | This will be called whenever the interaction profile is altered. | |
| FVRNotificationsDelegate | XRPlayAreaChangedDelegate | This will be called whenever the play area is altered. | |
| FVRNotificationsDelegate | XRTrackingOriginChangedDelegate | This will be called whenever the tracking origin is altered. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UVRNotificationsComponent
(
const FObjectInitializer& ObjectInitializer |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | OnUnregister () |
Called when a component is unregistered. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FVRNotificationsDelegate |