Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include | #include "Math/UnrealMathUtility.h" |
Source | /Engine/Source/Runtime/Core/Public/Math/Sphere.h |
template<typename FReal>
static UE::Math::TSphere< FReal > ComputeBoundingSphereForCone
&40;
UE::Math::TVector< FReal > const & ConeOrigin,
UE::Math::TVector< FReal > const & ConeDirection,
FReal ConeRadius,
FReal CosConeAngle,
FReal SinConeAngle
&41;
Remarks
FMath inline functions Computes minimal bounding sphere encompassing given cone Minimal bounding sphere encompassing given cone
Parameters
Name | Description |
---|---|
ConeOrigin | Cone origin |
ConeDirection | Cone direction |
ConeRadius | Cone Radius |
CosConeAngle | Cos of the cone angle |
SinConeAngle | Sin of the cone angle |