Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionParameter
- UMaterialExpressionDoubleVectorParameter
- UMaterialExpressionScalarParameter
- UMaterialExpressionCurveAtlasRowParameter
- UMaterialExpressionStaticBoolParameter
- UMaterialExpressionStaticSwitchParameter
- UMaterialExpressionStaticComponentMaskParameter
- UMaterialExpressionVectorParameter
- UMaterialExpressionChannelMaskParameter
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionParameter.h |
Include | #include "Materials/MaterialExpressionParameter.h" |
Syntax
class UMaterialExpressionParameter : public UMaterialExpression
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 | |
---|---|---|---|
![]() |
UMaterialExpressionParameter
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | Can this node be renamed? | |
![]() ![]() ![]() |
bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
|
![]() ![]() ![]() |
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. | |
![]() ![]() |
bool | MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query |
![]() ![]() |
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 |
|
![]() ![]() |
void | ValidateParameterName
(
const bool bAllowDuplicateName |
Constants
Name | Description |
---|---|
ParameterDefaultName |