UCanvasRenderTarget2D::GetSize

Gets a specific render target's size from the global map of canvas render targets.

Windows
MacOS
Linux

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

Syntax

void GetSize
(
    int32 & Width,
    int32 & Height
)

Remarks

Gets a specific render target's size from the global map of canvas render targets.

Parameters

Parameter

Description

Width

Output variable for the render target's width

Height

Output variable for the render target's height

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss