UCanvas::Project

Transforms a 3D world-space vector into 2D screen coordinates.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Canvas.h

Include

#include "Engine/Canvas.h"

Source

/Engine/Source/Runtime/Engine/Private/UserInterface/Canvas.cpp

Syntax

FVector Project
(
    FVector Location
) const

Remarks

Transforms a 3D world-space vector into 2D screen coordinates.

Returns

The transformed vector.

Parameters

Parameter

Description

Location

The vector to transform.

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