FMaterialUtilities::GeneratedBinnedTextureSquares

Generates a set of texture boxes according to the given weights and final atlas texture size

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 void GeneratedBinnedTextureSquares
(
    const FVector2D DestinationSize,
    [TArray](API\Runtime\Core\Containers\TArray)< float > & InTexureWeights,
    [TArray](API\Runtime\Core\Containers\TArray)< FBox2D > & OutGeneratedBoxes
)

Remarks

Generates a set of texture boxes according to the given weights and final atlas texture size


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library