FTransform::AreRotationsEqual

Test if A's rotation equals B's rotation, within a tolerance. Preferred over "A.GetRotation().Equals(B.GetRotation())" because it is faster on some platforms.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/TransformNonVectorized.h

Include

#include "Math/TransformNonVectorized.h"

Syntax

static bool AreRotationsEqual
(
    const FTransform & A,
    const FTransform & B,
    float Tolerance
)

Remarks

Test if A's rotation equals B's rotation, within a tolerance. Preferred over "A.GetRotation().Equals(B.GetRotation())" because it is faster on some platforms.

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