You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-156429 #preflight 62b32e826a25ba6ae52f94bd #rb jason.walter [CL 20795375 by Robb Surridge in ue5-main branch]
38 lines
950 B
C++
38 lines
950 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
#include "UObject/UObjectGlobals.h"
|
|
#include "UObject/Object.h"
|
|
|
|
#include "LiveLinkRole.h"
|
|
#include "Templates/SubclassOf.h"
|
|
|
|
#include "LiveLinkController.generated.h"
|
|
|
|
class AActor;
|
|
|
|
/**
|
|
* Basic object to control a UObject live link frames
|
|
*/
|
|
UCLASS(Abstract)
|
|
class LIVELINKINTERFACE_API ULiveLinkController : public UObject
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
virtual TSubclassOf<ULiveLinkRole> GetRole() const PURE_VIRTUAL(ULiveLinkController::GetRole, return TSubclassOf<ULiveLinkRole>(););
|
|
|
|
/** Initialize the controller at the first tick of its owner component. */
|
|
virtual void OnRegistered() { }
|
|
|
|
/** Function called every frame. */
|
|
virtual void Tick(float DeltaTime, const FLiveLinkSubjectRepresentation& SubjectRepresentation) { }
|
|
|
|
#if WITH_EDITOR
|
|
virtual void InitializeInEditor(UObject* FromObject) { }
|
|
#endif
|
|
};
|