FHierarchicalLODUtilities::CalculateScreenSizeFromDrawDistance

Computes the Screensize of the given Sphere taking into account the ProjectionMatrix and distance

Windows
MacOS
Linux

Override Hierarchy

IHierarchicalLODUtilities::CalculateScreenSizeFromDrawDistance()

FHierarchicalLODUtilities::CalculateScreenSizeFromDrawDistance()

References

Module

HierarchicalLODUtilities

Header

/Engine/Source/Developer/HierarchicalLODUtilities/Public/HierarchicalLODUtilities.h

Include

#include "HierarchicalLODUtilities.h"

Source

/Engine/Source/Developer/HierarchicalLODUtilities/Private/HierarchicalLODUtilities.cpp

Syntax

virtual float CalculateScreenSizeFromDrawDistance
(
    const float SphereRadius,
    const FMatrix & ProjectionMatrix,
    const float Distance
)

Remarks

Computes the Screensize of the given Sphere taking into account the ProjectionMatrix and distance

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