| UMaterialInterface::GetTexturesInPropertyChain()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Materials/Material.h |
Include |
#include "Materials/Material.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Materials/Material.cpp |
virtual bool GetTexturesInPropertyChain
(
EMaterialProperty InProperty,
TArray< UTexture * > & OutTextures,
TArray< FName > * OutTextureParamNames,
struct FStaticParameterSet * InStaticParameterSet,
ERHIFeatureLevel::Type InFeatureLevel,
EMaterialQualityLevel::Type InQuality
)
Get all of the textures in the expression chain for the given property (ie fill in the given array with all textures in the chain).
bool true if successful, false if not.
Parameter |
Description |
---|---|
InProperty |
The material property chain to inspect, such as MP_BaseColor. |
OutTextures |
The array to fill in all of the textures. |
OutTextureParamNames |
Optional array to fill in with texture parameter names. |
InStaticParameterSet |
Optional static parameter set - if specified only follow StaticSwitches according to its settings |