Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialInterface
- UMaterialInterface::GetTexturesInPropertyChain()
- UMaterialInstance::GetTexturesInPropertyChain()
- UMaterial::GetTexturesInPropertyChain()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialInterface.h |
Include | #include "Materials/MaterialInterface.h" |
virtual bool GetTexturesInPropertyChain
&40;
EMaterialProperty InProperty,
TArray< UTexture &42; > & OutTextures,
TArray< FName > &42; OutTextureParamNames,
struct FStaticParameterSet &42; InStaticParameterSet,
ERHIFeatureLevel::Type InFeatureLevel,
EMaterialQualityLevel::Type InQuality
&41;
Remarks
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.
Parameters
Name | 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 |