UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSubstrateMaterialInfo Struct Reference

#include <EngineTypes.h>

Public Member Functions

 FSubstrateMaterialInfo (bool bGatherGuids=false)
 
 FSubstrateMaterialInfo (ESubstrateShadingModel InShadingModel)
 
void AddShadingModel (ESubstrateShadingModel InShadingModel)
 
void SetSingleShadingModel (ESubstrateShadingModel InShadingModel)
 
bool HasShadingModel (ESubstrateShadingModel InShadingModel) const
 
bool HasOnlyShadingModel (ESubstrateShadingModel InShadingModel) const
 
uint32 GetShadingModelField () const
 
int32 CountShadingModels () const
 
void AddSubsurfaceProfile (USubsurfaceProfile *InProfile)
 
int32 CountSubsurfaceProfiles () const
 
USubsurfaceProfileGetSubsurfaceProfile (int32 Index) const
 
void AddSpecularProfile (USpecularProfile *InProfile)
 
int32 CountSpecularProfiles () const
 
USpecularProfileGetSpecularProfile (int32 Index) const
 
void SetShadingModelFromExpression (bool bIn)
 
bool HasShadingModelFromExpression () const
 
void AddGuid (const FGuid &In)
 
const TArray< FGuid > & GetGuids () const
 
uint64 GetPropertyConnected () const
 
void AddPropertyConnected (uint64 In)
 
bool HasPropertyConnected (uint64 In) const
 
bool IsValid () const
 
bool operator== (const FSubstrateMaterialInfo &Other) const
 
bool operator!= (const FSubstrateMaterialInfo &Other) const
 

Static Public Member Functions

static bool HasPropertyConnected (uint64 InConnectedPropertyMask, uint64 In)
 

Detailed Description

Gather information from the Substrate material graph to setup material for runtime.

Constructor & Destructor Documentation

◆ FSubstrateMaterialInfo() [1/2]

FSubstrateMaterialInfo::FSubstrateMaterialInfo ( bool  bGatherGuids = false)
inline

◆ FSubstrateMaterialInfo() [2/2]

FSubstrateMaterialInfo::FSubstrateMaterialInfo ( ESubstrateShadingModel  InShadingModel)
inline

Member Function Documentation

◆ AddGuid()

void FSubstrateMaterialInfo::AddGuid ( const FGuid In)
inline

◆ AddPropertyConnected()

void FSubstrateMaterialInfo::AddPropertyConnected ( uint64  In)
inline

◆ AddShadingModel()

void FSubstrateMaterialInfo::AddShadingModel ( ESubstrateShadingModel  InShadingModel)
inline

◆ AddSpecularProfile()

void FSubstrateMaterialInfo::AddSpecularProfile ( USpecularProfile InProfile)
inline

◆ AddSubsurfaceProfile()

void FSubstrateMaterialInfo::AddSubsurfaceProfile ( USubsurfaceProfile InProfile)
inline

◆ CountShadingModels()

int32 FSubstrateMaterialInfo::CountShadingModels ( ) const
inline

◆ CountSpecularProfiles()

int32 FSubstrateMaterialInfo::CountSpecularProfiles ( ) const
inline

◆ CountSubsurfaceProfiles()

int32 FSubstrateMaterialInfo::CountSubsurfaceProfiles ( ) const
inline

◆ GetGuids()

const TArray< FGuid > & FSubstrateMaterialInfo::GetGuids ( ) const
inline

◆ GetPropertyConnected()

uint64 FSubstrateMaterialInfo::GetPropertyConnected ( ) const
inline

◆ GetShadingModelField()

uint32 FSubstrateMaterialInfo::GetShadingModelField ( ) const
inline

◆ GetSpecularProfile()

USpecularProfile * FSubstrateMaterialInfo::GetSpecularProfile ( int32  Index) const
inline

◆ GetSubsurfaceProfile()

USubsurfaceProfile * FSubstrateMaterialInfo::GetSubsurfaceProfile ( int32  Index) const
inline

◆ HasOnlyShadingModel()

bool FSubstrateMaterialInfo::HasOnlyShadingModel ( ESubstrateShadingModel  InShadingModel) const
inline

◆ HasPropertyConnected() [1/2]

bool FSubstrateMaterialInfo::HasPropertyConnected ( uint64  In) const
inline

◆ HasPropertyConnected() [2/2]

static bool FSubstrateMaterialInfo::HasPropertyConnected ( uint64  InConnectedPropertyMask,
uint64  In 
)
inlinestatic

◆ HasShadingModel()

bool FSubstrateMaterialInfo::HasShadingModel ( ESubstrateShadingModel  InShadingModel) const
inline

◆ HasShadingModelFromExpression()

bool FSubstrateMaterialInfo::HasShadingModelFromExpression ( ) const
inline

◆ IsValid()

bool FSubstrateMaterialInfo::IsValid ( ) const
inline

◆ operator!=()

bool FSubstrateMaterialInfo::operator!= ( const FSubstrateMaterialInfo Other) const
inline

◆ operator==()

bool FSubstrateMaterialInfo::operator== ( const FSubstrateMaterialInfo Other) const
inline

◆ SetShadingModelFromExpression()

void FSubstrateMaterialInfo::SetShadingModelFromExpression ( bool  bIn)
inline

◆ SetSingleShadingModel()

void FSubstrateMaterialInfo::SetSingleShadingModel ( ESubstrateShadingModel  InShadingModel)
inline

The documentation for this struct was generated from the following file: