UMaterial::GetTexturesInPropertyChain

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).

Windows
MacOS
Linux

Override Hierarchy

UMaterialInterface::GetTexturesInPropertyChain()

UMaterial::GetTexturesInPropertyChain()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/Material.h

Include

#include "Materials/Material.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/Material.cpp

Syntax

virtual bool GetTexturesInPropertyChain
(
    EMaterialProperty InProperty,
    TArray< UTexture * > & OutTextures,
    TArray< FName > * OutTextureParamNames,
    struct FStaticParameterSet * InStaticParameterSet,
    ERHIFeatureLevel::Type InFeatureLevel,
    EMaterialQualityLevel::Type InQuality
)

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).

Returns

bool true if successful, false if not.

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss