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 GetExpressionsInPropertyChain
(
EMaterialProperty InProperty,
TArray< UMaterialExpression * > & OutExpressions,
struct FStaticParameterSet * InStaticParameterSet,
ERHIFeatureLevel::Type InFeatureLevel,
EMaterialQualityLevel::Type InQuality,
ERHIShadingPath::Type InShadingPath
)
Get the expression chain for the given property (ie fill in the given array with all expressions in the chain).
bool true if successful, false if not.
Parameter |
Description |
---|---|
InProperty |
The material property chain to inspect, such as MP_BaseColor. |
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. |