FMaterialBakingHelpers

Unreal Engine C++ API Reference > Developer > MaterialBaking

References

   
Module MaterialBaking
Header /Engine/Source/Developer/MaterialBaking/Public/MaterialBakingHelpers.h
Include #include "MaterialBakingHelpers.h"

Syntax

class FMaterialBakingHelpers  

Functions

Type Name Description
void PerformShrinking ( TArray< FColor >& InOutPixels, int32& OnOutImageWidth, int32& InOutImageHeight, FColor BackgroundColor ) Shrinks the array to a single pixel if the entire output is monochrome.
void PerformUVBorderSmear ( TArray< FColor >& InOutPixels, int32 ImageWidth, int32 ImageHeight, int32 MaxIterations, FColor BackgroundColor ) Applies a box blur to magenta pixels found in given texture represented by InOutPixels using non-background pixels, this creates a smear across the magenta/filled pixels.
void PerformUVBorderSmearAndShrink ( TArray< FColor >& InOutPixels, int32& InOutImageWidth, int32& InOutImageHeight, FColor BackgroundColor ) Applies a box blur to magenta pixels found in given texture represented by InOutPixels using non-background pixels, this creates a smear across the magenta/filled pixels.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library