UCanvas::K2_Project

Performs a projection of a world space coordinates using the projection matrix set up for the Canvas.

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 K2_Project
(
    FVector WorldLocation
)

Remarks

Performs a projection of a world space coordinates using the projection matrix set up for the Canvas.

Returns

Returns a vector where X, Y defines a screen space position representing the world space location.

Parameters

Parameter

Description

WorldLocation

World space location to project onto the Canvas rendering plane.

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