TFrame3::ToPlaneUV

Project 3D point into plane and convert to UV coordinates in that plane

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryCore

Header

/Engine/Source/Runtime/GeometryCore/Public/FrameTypes.h

Include

#include "FrameTypes.h"

Syntax

TVector2< RealType > ToPlaneUV
(
    const TVector< RealType > & Pos,
    int PlaneNormalAxis
) const

Remarks

Project 3D point into plane and convert to UV coordinates in that plane

Returns

2D coordinates in UV plane, relative to origin

Parameters

Parameter

Description

Pos

3D position

PlaneNormalAxis

which plane to project onto, identified by perpendicular normal. Default is 2, ie normal is Z, plane is (X,Y)