FMaterialUtilities::ComputeRequiredTexelDensityFromDrawDistance

Compute the required texel density needed to properly represent an object/objects covering the provided world space radius

Unreal Engine C++ API Reference > Developer > MaterialUtilities > FMaterialUtilities

References

   
Module MaterialUtilities
Header /Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h
Include #include "MaterialUtilities.h"
Source /Engine/Source/Developer/MaterialUtilities/Private/MaterialUtilities.cpp
static float ComputeRequiredTexelDensityFromDrawDistance
(
    const float InDrawDistance,
    float InWorldSpaceRadius
)

Remarks

Compute the required texel density needed to properly represent an object/objects covering the provided world space radius The required texel density per METER

Parameters

Name Description
InDrawDistance Draw distance at which the objects are expected to be shown
InWorldSpaceRadius World space radius of the objects

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library