Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionTextureSampleParameter |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionTextureSampleParameter.h |
| Include Path | #include "Materials/MaterialExpressionTextureSampleParameter.h" |
Syntax
UCLASS (CollapseCategories, Abstract, HideCategories=Object, MinimalAPI)
class UMaterialExpressionTextureSampleParameter : public UMaterialExpressionTextureSample
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionTextureBase → UMaterialExpressionTextureSample → UMaterialExpressionTextureSampleParameter
Derived Classes
UMaterialExpressionTextureSampleParameter derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionTextureSampleParameter
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionTextureSampleParameter.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExpressionGUID | FGuid | GUID that should be unique within the material, this is used for parameter renaming. | Materials/MaterialExpressionTextureSampleParameter.h | |
| Group | FName | The name of the parameter Group to display in MaterialInstance Editor. Default is None group | Materials/MaterialExpressionTextureSampleParameter.h |
|
| ParameterName | FName | Materials/MaterialExpressionTextureSampleParameter.h |
|
|
| SortPriority | int32 | Controls where the this parameter is displayed in a material instance parameter list. | Materials/MaterialExpressionTextureSampleParameter.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetDefaultTexture() |
Sets the default texture if none is set | Materials/MaterialExpressionTextureSampleParameter.h | |
bool SetParameterValue
(
FName InParameterName, |
Materials/MaterialExpressionTextureSampleParameter.h | ||
virtual bool TextureIsValid
(
UTexture* InTexture, |
Return true if the texture is a movie texture | Materials/MaterialExpressionTextureSampleParameter.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionTextureSampleParameter.h | |
virtual bool CanRenameNode() |
Can this node be renamed? | Materials/MaterialExpressionTextureSampleParameter.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionTextureSampleParameter.h | |
virtual void GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionTextureSampleParameter.h | |
virtual FString GetEditableName () |
Returns the current 'name' of the node (typically a parameter name). | Materials/MaterialExpressionTextureSampleParameter.h | |
virtual FGuid & GetParameterExpressionId() |
Callback to access derived classes' parameter expression id. | Materials/MaterialExpressionTextureSampleParameter.h | |
virtual FName GetParameterName() |
Materials/MaterialExpressionTextureSampleParameter.h | ||
virtual bool GetParameterValue
(
FMaterialParameterMetadata& OutMeta |
Materials/MaterialExpressionTextureSampleParameter.h | ||
virtual bool HasAParameterName() |
Parameter Name functions, this is requires as multiple class have ParameterName but are not UMaterialExpressionParameter due to class hierarchy. | Materials/MaterialExpressionTextureSampleParameter.h | |
virtual bool MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query | Materials/MaterialExpressionTextureSampleParameter.h | |
virtual 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. | Materials/MaterialExpressionTextureSampleParameter.h | |
virtual void SetParameterName
(
const FName& Name |
Materials/MaterialExpressionTextureSampleParameter.h | ||
virtual bool SetParameterValue
(
const FName& Name, |
Materials/MaterialExpressionTextureSampleParameter.h | ||
virtual void ValidateParameterName
(
const bool bAllowDuplicateName |
Materials/MaterialExpressionTextureSampleParameter.h |