GizmoMath::ComputeCoordinatesInPlane

Project the input Point into the plane defined by PlaneOrigin and PlaneNormal, and then calculate it's UV coordinates in the space defined by the plane axes PlaneAxis1 and PlaneAxis2

Choose your operating system:

Windows

macOS

Linux

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoMath.h

Include

#include "BaseGizmos/GizmoMath.h"

Source

/Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoMath.cpp

Syntax

namespace GizmoMath
{
    FVector2D GizmoMath::ComputeCoordinatesInPlane
    (
        const FVector & Point,
        const FVector & PlaneOrigin,
        const FVector & PlaneNormal,
        const FVector & PlaneAxis1,
        const FVector & PlaneAxis2
    )
}

Remarks

Project the input Point into the plane defined by PlaneOrigin and PlaneNormal, and then calculate it's UV coordinates in the space defined by the plane axes PlaneAxis1 and PlaneAxis2

Returns

the UV coordinates