Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UCanvasRenderTarget2D
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/CanvasRenderTarget2D.h |
Include | #include "Engine/CanvasRenderTarget2D.h" |
Source | /Engine/Source/Runtime/Engine/Private/CanvasRenderTarget2D.cpp |
UFUNCTION (BlueprintPure, Category="Canvas Render Target 2D")
void GetSize
(
int32 & Width,
int32 & Height
)
Remarks
Gets a specific render target's size from the global map of canvas render targets.
Parameters
Name | Description |
---|---|
Width | Output variable for the render target's width |
Height | Output variable for the render target's height |