UGizmoComponentAxisSource::GetTangentVectors

Get the two tangent vectors that are orthogonal to the Direction vector.

Choose your operating system:

Windows

macOS

Linux

Warnings

Override Hierarchy

IGizmoAxisSource::GetTangentVectors()

UGizmoComponentAxisSource::GetTangentVectors()

References

Module

InteractiveToolsFramework

Header

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

Include

#include "BaseGizmos/AxisSources.h"

Source

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

Syntax

virtual void GetTangentVectors
(
    FVector & TangentXOut,
    FVector & TangentYOut
) const

Remarks

Get the two tangent vectors that are orthogonal to the Direction vector.

Only valid if HasTangentVectors() returns true