Files
UnrealEngineUWP/Engine/Source/Runtime/LiveLinkInterface/Public/LiveLinkController.h
Max Chen 4561801a81 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) @7119039
#rb none

[CL 7120528 by Max Chen in Dev-Editor branch]
2019-06-21 01:21:43 -04:00

38 lines
960 B
C++

// Copyright 1998-2019 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 his 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
};