UVRNotificationsComponent

Copyright Epic Games, Inc.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/VRNotificationsComponent.h

Include

#include "VRNotificationsComponent.h"

Syntax

class UVRNotificationsComponent : public UActorComponent

Remarks

Copyright Epic Games, Inc. All Rights Reserved. VRNotificationsComponent.h: Component to handle receiving notifications from VR HMD

Variables

Name Description

Public variable

FVRNotification...

 

HMDConnectCanceledDelegate

This will be called when the user declines to connect the HMD when prompted to do so by a system dialog. (PS4 Only)

Public variable

FVRNotification...

 

HMDLostDelegate

This will be called when connection to HMD is lost.

Public variable

FVRNotification...

 

HMDPutOnHeadDelegate

This will be called when the HMD detects that it has been put on by a player.

Public variable

FVRNotification...

 

HMDRecenteredDelegate

This will be called when the application is asked for VR headset recenter.

Public variable

FVRNotification...

 

HMDReconnectedDelegate

This will be called when connection to HMD is restored.

Public variable

FVRNotification...

 

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).

Public variable

FVRNotification...

 

HMDTrackingInitializedDelegate

This will be called on Morpheus when the HMD is done initializing and therefore reprojection will start functioning.

Public variable

FVRNotification...

 

HMDTrackingInitializingAndNeedsHMDToBeTrackedDelegate

This will be called on Morpheus if the HMD starts up and is not fully initialized (in NOT_STARTED or CALIBRATING states).

Public variable

FVRNotification...

 

VRControllerRecenteredDelegate

This will be called when the VR system recenters a controller.

Constructors

Name Description

Public function

UVRNotificationsComponent

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

OnRegister()

Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.

Public function Virtual

void

 

OnUnregister()

Called when a component is unregistered.

Classes

Name

Description

Public class

FVRNotificationsDelegate