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/Private/Math/UnrealMath.cpp |
static uint32 ComputeProjectedSphereScissorRect
&40;
FIntRect & InOutScissorRect,
FVector SphereOrigin,
float Radius,
FVector ViewOrigin,
const FMatrix & ViewMatrix,
const FMatrix & ProjMatrix
&41;
Remarks
InOutScissorRect should be set to View.ViewRect before the call 0: light is not visible, 1:use scissor rect, 2: no scissor rect needed