Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionCollectionParameter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionCollectionParameter.h |
| Include | #include "Materials/MaterialExpressionCollectionParameter.h" |
Syntax
UCLASS (HideCategories=object, MinimalAPI)
class UMaterialExpressionCollectionParameter : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< class UMaterialParameterCollection > | Collection | The Parameter Collection to use. | |
| FGuid | ParameterId | Id that is set from the name, and used to handle renaming of collection parameters. | |
| FName | ParameterName | Name of the parameter being referenced. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionCollectionParameter
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| FName | |||
| bool | Parameter Name functions, this is requires as multiple class have ParameterName but are not UMaterialExpressionParameter due to class hierarchy. | ||
| bool | MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query | |
| void | SetParameterName
(
const FName& Name |
||
| void | ValidateParameterName
(
const bool bAllowDuplicateName |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |