You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-153690 #preflight 62fdf58f0601ad0504728fe2 #rb benoit.deschenes [CL 21454264 by kerim borchaev in ue5-main branch]
43 lines
975 B
C++
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;
|
|
};
|
|
|
|
}
|