FMaterialBakingHelpers

Windows
MacOS
Linux

References

Module

MaterialBaking

Header

/Engine/Source/Developer/MaterialBaking/Public/MaterialBakingHelpers.h

Include

#include "MaterialBakingHelpers.h"

Syntax

class FMaterialBakingHelpers

Functions

Name Description

Public function Static

void

 

PerformUVBorderSmear

(
    TArray< FColor >& InOutPixels,
    int32 ImageWidth,
    int32 ImageHeight,
    int32 MaxIterations
)

Applies a box blur to magenta pixels found in given texture represented by InOutPixels using non-magenta pixels, this creates a smear across the magenta/filled pixels.

Public function Static

void

 

PerformUVBorderSmearAndShrink

(
    TArray< FColor >& InOutPixels,
    int32& InOutImageWidth,
    int32& InOutImageHeight
)

Applies a box blur to magenta pixels found in given texture represented by InOutPixels using non-magenta pixels, this creates a smear across the magenta/filled pixels.