Advertisement
Guest User

SpectatorCamera.H

a guest
Oct 3rd, 2018
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.06 KB | None | 0 0
  1.   #pragma once
  2.    
  3.     #include "CoreMinimal.h"
  4.     #include "GameFramework/Actor.h"
  5.     #include "Kismet/BlueprintFunctionLibrary.h"
  6.     #include "UMG.h"
  7.     #include "SlateBasics.h"
  8.     #include "SlateCore.h"
  9.     #include "SWidget.h"
  10.     #include "WidgetRenderer.h"
  11.     #include "SpectatorCamera.generated.h"
  12.    
  13.     UCLASS(Blueprintable)
  14.     class UFO_RODEO_API ASpectatorCamera : public AActor
  15.     {
  16.         GENERATED_BODY()
  17.        
  18.     public:
  19.         // Sets default values for this actor's properties
  20.         ASpectatorCamera();
  21.        
  22.    
  23.     protected:
  24.         // Called when the game starts or when spawned
  25.         virtual void BeginPlay() override;
  26.    
  27.     public:
  28.         // Called every frame
  29.         virtual void Tick(float DeltaTime) override;
  30.    
  31.         UFUNCTION(Category = "SpectatorCamera", BlueprintCallable)
  32.         void RenderWidgetToTargetEnhanced(bool UseGamma, TextureFilter Filter, UUserWidget * WidgetToRender, FVector2D DrawSize, float DeltaTime, UPARAM(ref) UTextureRenderTarget2D * Target);
  33.        
  34.         FWidgetRenderer * renderer;
  35.        
  36.     };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement