Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials > API/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 GetAllReferencedExpressions
(
TArray < UMaterialExpression * > & OutExpressions,
struct FStaticParameterSet * InStaticParameterSet,
ERHIFeatureLevel::Type InFeatureLevel,
EMaterialQualityLevel::Type InQuality,
ERHIShadingPath::Type InShadingPath,
const bool bInRecurseIntoMaterialFunctions,
TSet < UClass * > * InMobileCustomOutputExpressionTypesToQuery
)
Remarks
Get all referenced expressions (returns the chains for all properties). bool true if successful, false if not.
Parameters
| Name | Description |
|---|---|
| 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. @Param InFeatureLevel Optional feature level - if supplied, only walk FeatureLevelSwitch branches according to it. @Param InQuality Optional quality switch - if supplied, only walk QualitySwitch branches according to it. @Param InShadingPath Optional shading path switch - if supplied, only walk ShadingPathSwitch branches according to it. @Param bInRecurseIntoMaterialFunctions Optional enable recursion into Material Functions - if true, will also return expressions from inside of MaterialFunctions. @Param InMobileCustomOutputExpressionTypesToQuery Optional a list of material expression custom output types to include in the query on mobile devices. On non-mobile devices, all custom output types are queried. |