GizmoMath::ComputeAngleInPlane

Project the input Point into the plane defined by PlaneOrigin and PlaneNormal, and then measure it's signed angle relative to the in-plane X and Y axes defined by 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
{
    float GizmoMath::ComputeAngleInPlane
    (
        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 measure it's signed angle relative to the in-plane X and Y axes defined by PlaneAxis1 and PlaneAxis2

Returns

the signed angle