19 virtual void OnConstruction(
const FTransform& Transform)
override;
22 UFUNCTION(BlueprintPure, Category =
"Hologram Widget Screen")
23 UUserWidget* GetScreenWidget()
const;
26 virtual void BeginPlay()
override;
27 virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason)
override;
29 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category =
"Hologram Widget Screen")
32 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Hologram Widget Screen")
33 TSubclassOf<UUserWidget> ScreenWidgetClass;
35 UPROPERTY(EditAnywhere, BlueprintReadOnly, Category = "Hologram Widget Screen", meta = (ClampMin = "1"))
36 FIntPoint WidgetDrawSize = FIntPoint(1024, 512);
39 void ConfigureWidgetSource();
40 void BindRenderTarget(UTextureRenderTarget2D* RenderTarget);
41 bool HasWidgetMaterial() const;