FMaterialUtilities::GeneratedBinnedTextureSquares

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

Windows
MacOS
Linux

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 void GeneratedBinnedTextureSquares
(
    const FVector2D DestinationSize,
    TArray< float > & InTexureWeights,
    TArray< FBox2D > & OutGeneratedBoxes
)

Remarks

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

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