31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Blueprints/IDisplayClusterProjectionBlueprintAPI.h"
|
|
#include "DisplayClusterProjectionBlueprintAPIImpl.generated.h"
|
|
|
|
class UCameraComponent;
|
|
|
|
|
|
/**
|
|
* Blueprint API interface implementation
|
|
*/
|
|
UCLASS()
|
|
class DISPLAYCLUSTERPROJECTION_API UDisplayClusterProjectionBlueprintAPIImpl
|
|
: public UObject
|
|
, public IDisplayClusterProjectionBlueprintAPI
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
//////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Policy: CAMERA
|
|
//////////////////////////////////////////////////////////////////////////////////////////////
|
|
/** Sets active camera component for camera policy */
|
|
UE_DEPRECATED(5.4, "This function has been moved to UDisplayClusterProjectionBlueprintLib.")
|
|
UFUNCTION(BlueprintCallable, meta = (DeprecatedFunction, DeprecationMessage = "This function is now available in the main blueprint functions list under 'nDisplay' section."))
|
|
virtual void CameraPolicySetCamera(const FString& ViewportId, UCameraComponent* NewCamera, float FOVMultiplier = 1.f) override;
|
|
};
|