USphereComponent::AreSymmetricRotations

Returns true if the given transforms result in the same bounds, due to rotational symmetry.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UPrimitiveComponent::AreSymmetricRotations()

USphereComponent::AreSymmetricRotations()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SphereComponent.h

Include

#include "Components/SphereComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SphereComponent.cpp

Syntax

virtual bool AreSymmetricRotations
(
    const FQuat & A,
    const FQuat & B,
    const FVector & Scale3D
) const

Remarks

Returns true if the given transforms result in the same bounds, due to rotational symmetry. For example, this is true for a sphere with uniform scale undergoing any rotation. This is NOT intended to detect every case where this is true, only the common cases to aid optimizations.