Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterial
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 |
virtual bool RecursiveGetExpressionChain
&40;
UMaterialExpression &42; InExpression,
TArray< FExpressionInput &42; > & InOutProcessedInputs,
TArray< UMaterialExpression &42; > & OutExpressions,
struct FStaticParameterSet &42; InStaticParameterSet,
ERHIFeatureLevel::Type InFeatureLevel,
EMaterialQualityLevel::Type InQuality,
ERHIShadingPath::Type InShadingPath,
EShaderFrequency InShaderFrequency,
EMaterialProperty InProperty,
const bool bInRecurseIntoMaterialFunctions
&41;
Remarks
Recursively retrieve the expressions contained in the chain of the given expression. bool true if successful, false if not.
Parameters
Name | Description |
---|---|
InExpression | The expression to start at. |
InOutProcessedInputs | An array of processed expression inputs. (To avoid circular loops causing infinite recursion) |
OutExpressions | The array to fill in all of the expressions. |
InStaticParameterSet | Optional static parameter set - if supplied only walk the StaticSwitch branches according to it. InFeatureLevel Optional feature level - if supplied, only walk FeatureLevelSwitch branches according to it. InQuality Optional quality switch - if supplied, only walk QualitySwitch branches according to it. InShadingPath Optional shading path switch - if supplied, only walk ShadingPathSwitch branches according to it. InShaderFrequency Optional shader frequency - if supplied, only walk ShaderFrequencySwitch branches according to it. bInRecurseIntoMaterialFunctions Optional enable recursion into Material Functions - if true, will also return expressions from inside of MaterialFunctions. |