GetTextureSizeFromTargetTexelDensity

Overload list

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

  Type Name Description
Public function Static int32

GetTextureSizeFromTargetTexelDensity ( const FMeshDescription& InMesh,
float InTargetTexelDensity
)

Compute the required texture size to achieve a target texel density for the given mesh.
Public function Static int32

GetTextureSizeFromTargetTexelDensity ( const UE::Geometry::FDynamicMesh3& Mesh,
float TargetTexelDensity
)

Compute the required texture size to achieve a target texel density for the given mesh.
Public function Static int32

GetTextureSizeFromTargetTexelDensity ( double InMesh3DArea,
double InMeshUVArea,
double InTargetTexelDensity
)

Compute the required texture size to achieve a target texel density, given the world to UV space ratio.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library

On this page