FFlattenMaterial

Structure used for storing intermediate baked down material data/samples

Unreal Engine C++ API Reference > Developer > MaterialUtilities

References

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

Syntax

struct FFlattenMaterial  

Remarks

Structure used for storing intermediate baked down material data/samples

Variables

Type Name Description
bool bDitheredLODTransition Flag whether or not the material will use dithered LOD transitions
bool bIsThinSurface Flag whether or not the material will have to be thin
EBlendMode BlendMode Blend mode for the new material
bool bTwoSided Flag whether or not the material will have to be two-sided
float EmissiveScale Scale (maximum baked down value) for the emissive property
FGuid MaterialId Material Guid
FIntPoint RenderSize  
int32 UVChannel UV channel to use

Constructors

Type Name Description
  FFlattenMaterial ()  

Functions

Type Name Description
const bool DoesPropertyContainData ( const EFlattenMaterialProperties Pr... )  
void FillAlphaValues ( const uint8 InAlphaValue ) Set all alpha channel values with InAlphaValue
TArray< FCol... GetPropertySamples ( const EFlattenMaterialProperties Pr... )  
const TArray... GetPropertySamples ( const EFlattenMaterialProperties Pr... )  
const FIntPo... GetPropertySize ( const EFlattenMaterialProperties Pr... )  
bool HasData ()  
const bool IsPropertyConstant ( const EFlattenMaterialProperties Pr... )  
void ReleaseData () Release all the sample data
void SetPropertySize ( const EFlattenMaterialProperties Pr..., const FIntPoint& InSize )  
const bool ShouldGenerateDataForProperty ( const EFlattenMaterialProperties Pr... )  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library