Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fill out your copyright notice in the Description page of Project Settings.
- #pragma once
- #include "CoreMinimal.h"
- #include "GameFramework/Actor.h"
- #include "Engine/SceneCapture2D.h"
- #include "Engine/TextureRenderTarget2D.h"
- #include "CustomCamera_RGBD.generated.h"
- UCLASS()
- class ARTEKMED_PRECLINICAL_API ACustomCamera_RGBD : public ASceneCapture2D
- {
- GENERATED_BODY()
- public:
- // Sets default values for this actor's properties
- ACustomCamera_RGBD();
- protected:
- // Called when the game starts or when spawned
- virtual void BeginPlay() override;
- public:
- // Called every frame
- virtual void Tick(float DeltaTime) override;
- UPROPERTY(EditAnywhere, Category="ImageParameters")
- uint32 resolution_X;
- UPROPERTY(EditAnywhere, Category="ImageParameters")
- uint32 resolution_Y;
- UPROPERTY(EditAnywhere, Category="ImageParameters")
- float fps;
- UPROPERTY(EditAnywhere, Category="DataStorage")
- FString savePath;
- UPROPERTY(EditAnywhere, Category="DataStorage")
- UTextureRenderTarget2D* MyRenderTarget;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement