IHierarchicalLODUtilities::CalculateScreenSizeFromDrawDistance

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

Unreal Engine C++ API Reference > Developer > HierarchicalLODUtilities > IHierarchicalLODUtilities

  • IHierarchicalLODUtilities::CalculateScreenSizeFromDrawDistance()

References

   
Module HierarchicalLODUtilities
Header /Engine/Source/Developer/HierarchicalLODUtilities/Public/IHierarchicalLODUtilities.h
Include #include "IHierarchicalLODUtilities.h"
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


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library