FMaterialUtilities::ComputeRequiredTexelDensityFromDrawDistance

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

References

Module

MaterialUtilities

Header

/Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h

Include

#include "MaterialUtilities.h"

Source

/Engine/Source/Developer/MaterialUtilities/Private/MaterialUtilities.cpp

Syntax

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

Returns

The required texel density per METER

Parameters

Parameter

Description

InDrawDistance

Draw distance at which the objects are expected to be shown

InWorldSpaceRadius

World space radius of the objects

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