Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionTextureCollection
- UMaterialExpressionTextureCollectionParameter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionTextureCollectionParameter.h |
| Include | #include "Materials/MaterialExpressionTextureCollectionParameter.h" |
Syntax
UCLASS (MinimalAPI)
class UMaterialExpressionTextureCollectionParameter : public UMaterialExpressionTextureCollection
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGuid | ExpressionGUID | GUID that should be unique within the material, this is used for parameter renaming. | |
| FName | Group | The name of the parameter Group to display in MaterialInstance Editor. Default is None group | |
| FName | ParameterName | The name of the parameter | |
| int32 | SortPriority | Controls where the this parameter is displayed in a material instance parameter list. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionTextureCollectionParameter
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | SetParameterValue
(
const FName& InParameterName, |
||
| bool | TextureCollectionIsValid
(
UTextureCollection* InTextureCollection, |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| bool | Can this node be renamed? | ||
| 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). | |
| FString | Returns the current 'name' of the node (typically a parameter name). | ||
| FGuid & | Callback to access derived classes' parameter expression id. | ||
| FName | |||
| bool | GetParameterValue
(
FMaterialParameterMetadata& OutMeta |
||
| bool | Parameter Name functions, this is requires as multiple class have ParameterName but are not UMaterialExpressionParameter due to class hierarchy. | ||
| void | SetEditableName
(
const FString& NewName |
Sets the current 'name' of the node (typically a parameter name) Only valid to call on a node that previously returned CanRenameNode() = true. | |
| void | SetParameterName
(
const FName& Name |
||
| bool | SetParameterValue
(
const FName& Name, |
||
| void | ValidateParameterName
(
const bool bAllowDuplicateName |