UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ARSystem.h File Reference
#include "CoreMinimal.h"
#include "ARTypes.h"
#include "ARSessionConfig.h"
#include "Engine/Engine.h"

Go to the source code of this file.

Classes

class  IARSystemSupport
 

Macros

#define DEFINE_AR_DELEGATE_BASE(DelegateName)
 
#define DEFINE_AR_DELEGATE_ONE_PARAM(DelegateName, Param1Type)
 

Macro Definition Documentation

◆ DEFINE_AR_DELEGATE_BASE

#define DEFINE_AR_DELEGATE_BASE (   DelegateName)
Value:
private: \
F##DelegateName DelegateName##Delegates; \
public: \
virtual FDelegateHandle Add##DelegateName##Delegate_Handle(const F##DelegateName##Delegate& Delegate) \
{ \
DelegateName##Delegates.Add(Delegate); \
return Delegate.GetHandle(); \
} \
virtual void Clear##DelegateName##Delegate_Handle(FDelegateHandle& Handle) \
{ \
DelegateName##Delegates.Remove(Handle); \
Handle.Reset(); \
} \
virtual void Clear##DelegateName##Delegates(FDelegateUserObject Object) \
{ \
DelegateName##Delegates.RemoveAll(Object); \
}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void * FDelegateUserObject
Definition IDelegateInstance.h:107
Definition IDelegateInstance.h:14
FDelegates Delegates
Definition NavigationSystemBase.cpp:234

◆ DEFINE_AR_DELEGATE_ONE_PARAM

#define DEFINE_AR_DELEGATE_ONE_PARAM (   DelegateName,
  Param1Type 
)
Value:
DEFINE_AR_DELEGATE_BASE(DelegateName) \
public: \
virtual void Trigger##DelegateName##Delegates(Param1Type Param1) \
{ \
DelegateName##Delegates.Broadcast(Param1); \
} \
public:
#define DEFINE_AR_DELEGATE_BASE(DelegateName)
Definition ARSystem.h:19