PlotRenderTarget.h 529 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Engine/CanvasRenderTarget2D.h"
#include "PlotRenderTarget.generated.h"

/**
 * 
 */
UCLASS()
class IMMERSIVEANALYTICS_API UPlotRenderTarget : public UCanvasRenderTarget2D
{
	GENERATED_BODY()

public:
	UPlotRenderTarget();
	
	UFUNCTION()
	void OnUpdate(UCanvas* Canvas, int32 Width, int32 Height);

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Default)
	UMaterialInterface* MaterialDot;
};