Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionRuntimeVirtualTextureSample
- UMaterialExpressionRuntimeVirtualTextureSampleParameter
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionRuntimeVirtualTextureSampleParameter.h |
Include | #include "Materials/MaterialExpressionRuntimeVirtualTextureSampleParameter.h" |
Syntax
class UMaterialExpressionRuntimeVirtualTextureSampleParameter : public UMaterialExpressionRuntimeVirtualTextureSample
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 | Name to be referenced when we want to find and set this parameter |
![]() |
int32 | SortPriority | Controls where the this parameter is displayed in a material instance parameter list. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMaterialExpressionRuntimeVirtualTextureSampleParameter
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | SetParameterValue
(
FName InParameterName, |
If this is the named parameter from this material expression, then set its value. |
Overridden from UMaterialExpression
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | Can this node be renamed? | |
![]() ![]() ![]() |
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. | |
![]() ![]() |
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 |
|
![]() ![]() |
bool | SetParameterValue
(
const FName& Name, |
|
![]() ![]() |
void | ValidateParameterName
(
const bool bAllowDuplicateName |