Files
UnrealEngineUWP/Engine/Source/Programs/Enterprise/Datasmith/DatasmithSketchUpRubyExporter/Private/DatasmithSketchUpCamera.h
kerim borchaev 61c3d84112 [SketchUp] Camera updates and active flag
#jira UE-153690
#preflight 62fdf58f0601ad0504728fe2
#rb benoit.deschenes

[CL 21454264 by kerim borchaev in ue5-main branch]
2022-08-19 00:51:24 -04:00

43 lines
975 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "DatasmithSketchUpCommon.h"
// SketchUp SDK.
#include "DatasmithSketchUpSDKBegins.h"
#include "SketchUpAPI/geometry.h"
#include "SketchUpAPI/model/defs.h"
#include "DatasmithSketchUpSDKCeases.h"
#include "Containers/UnrealString.h"
#include "Misc/SecureHash.h"
class IDatasmithCameraActorElement;
namespace DatasmithSketchUp
{
class FExportContext;
// Associates SketchUp Camera with Datasmith actor
class FCamera : FNoncopyable
{
public:
FCamera(SUCameraRef InCameraRef)
: CameraRef(InCameraRef) {}
static TSharedPtr<FCamera> Create(FExportContext& Context, SUCameraRef InCameraRef, const FString& Name);
static TSharedPtr<FCamera> Create(FExportContext& Context, SUSceneRef InSceneRef);
void Update(FExportContext& Context);
FMD5Hash GetHash();
SUCameraRef CameraRef;
FString Name;
TSharedPtr<IDatasmithCameraActorElement> DatasmithCamera;
bool bIsActive;
};
}