Projekt for SPIE - Avatar for safety briefing / managment event
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
751 B

// Copyright Voulz 2021-2025. All Rights Reserved.
#include "ArchVisSceneCapture2D.h"
#include "ArchVisCineCameraComponent.h"
#include "ArchVisSceneCaptureComponent2D.h"
AArchVisSceneCapture2D::AArchVisSceneCapture2D(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer.SetDefaultSubobjectClass<UArchVisSceneCaptureComponent2D>(TEXT("NewSceneCaptureComponent2D")))
{
ArchVisCineCameraComponent = CreateDefaultSubobject<UArchVisCineCameraComponent>(TEXT("CameraComponent"));
ArchVisCineCameraComponent->SetupAttachment(RootComponent);
ArchVisSceneCaptureComponent2D = Cast<UArchVisSceneCaptureComponent2D>(GetCaptureComponent2D());
ArchVisSceneCaptureComponent2D->ArchVisCineCameraComponent = ArchVisCineCameraComponent;
}