GizmoMath::RayCylinderIntersection

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
{
    template<typename RealType>
    void GizmoMath::RayCylinderIntersection
    (
        const FVector & CylinderCenter,
        const FVector & CylinderAxis,
        RealType CylinderRadius,
        RealType CylinderHeight,
        const FVector & RayOrigin,
        const FVector & RayDirection,
        bool & bIntersectsOut,
        RealType & OutHitDepth
    )
}