VRTowerDef/Plugins/MetaXR/Source/OculusXRHMD/Private/OculusXRDelegates.h

20 lines
678 B
C
Raw Permalink Normal View History

2024-05-29 08:53:41 +00:00
// @lint-ignore-every LICENSELINT
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreTypes.h"
#include "Delegates/Delegate.h"
class FOculusEventDelegates
{
public:
/** When the display refresh rate is changed */
DECLARE_MULTICAST_DELEGATE_TwoParams(FOculusDisplayRefreshRateChangedEvent, float /*fromRefreshRate*/, float /*toRefreshRate*/);
static FOculusDisplayRefreshRateChangedEvent OculusDisplayRefreshRateChanged;
/** When the eye tracking status changes */
DECLARE_MULTICAST_DELEGATE_OneParam(FOculusEyeTrackingStateChangedEvent, bool /*bIsEyeTrackingOn*/);
static FOculusEyeTrackingStateChangedEvent OculusEyeTrackingStateChanged;
};