Navigation
API > API/Developer > API/Developer/MaterialUtilities > API/Developer/MaterialUtilities/FMaterialUtilities > API/Developer/MaterialUtilities/FMaterialUtilities/GetTextureSizeFr-
References
| Module | MaterialUtilities |
| Header | /Engine/Source/Developer/MaterialUtilities/Public/MaterialUtilities.h |
| Include | #include "MaterialUtilities.h" |
| Source | /Engine/Source/Developer/MaterialUtilities/Private/MaterialUtilities.cpp |
static int32 GetTextureSizeFromTargetTexelDensity
&40;
double InMesh3DArea,
double InMeshUVArea,
double InTargetTexelDensity
&41;
Remarks
Compute the required texture size to achieve a target texel density, given the world to UV space ratio. The texture size needed to achieve the required texel density.
Parameters
| Name | Description |
|---|---|
| InMesh3DArea | World space area of the mesh |
| InMeshUVArea | UV space area of the mesh |