UReporterBase::ToScreenSpace

Helper to convert vectors from normalized into screen space

Windows
MacOS
Linux

Override Hierarchy

UReporterBase::ToScreenSpace()

UReporterGraph::ToScreenSpace()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Debug/ReporterBase.h

Include

#include "Debug/ReporterBase.h"

Source

/Engine/Source/Runtime/Engine/Private/Debug/ReporterBase.cpp

Syntax

virtual FVector2D ToScreenSpace
(
    const FVector2D & InVector,
    UCanvas * Canvas
)

Remarks

Helper to convert vectors from normalized into screen space

Returns

The screen space coordinates based on the size of the canvas

Parameters

Parameter

Description

InVector

Normalized screen space coordinates to convert to screen space

Canvas

The canvas we wish to use during the conversion

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