Files
UnrealEngine/Engine/Source/Runtime/AugmentedReality/Public/AROriginActor.h
2025-05-18 13:04:45 +08:00

22 lines
545 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFramework/Actor.h"
#include "AROriginActor.generated.h"
/**
* Simple actor that is spawned at the origin for AR systems that want to hang components on an actor
* Spawned as a custom class for easier TObjectIterator use
*/
UCLASS(BlueprintType)
class AUGMENTEDREALITY_API AAROriginActor :
public AActor
{
GENERATED_UCLASS_BODY()
public:
/** Used by the AR system to get the origin actor for the current world */
static AAROriginActor* GetOriginActor();
};