Get the size of UCanvasPanel C++

danielf94
Tue, 19 May 2020 03:27:13 +0000
Rendering

Hello, I need to get the size of UCanvasPanel c++

.h

UPROPERTY(meta = (BindWidget))
class UCanvasPanel* MyCanvas;

I need to get inside a Vector2D X and Y the size of my panel, the panel is created from the designer but I call it using BindWidget.

3 posts - 1 participant