22 lines
545 B
C++
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();
|
|
};
|