Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionTextureBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionTextureBase.h |
| Include Path | #include "Materials/MaterialExpressionTextureBase.h" |
Syntax
UCLASS (Abstract, HideCategories=Object, MinimalAPI)
class UMaterialExpressionTextureBase : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionTextureBase
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IsDefaultMeshpaintTexture | uint8 | Is default selected texture when using mesh paint mode texture painting | Materials/MaterialExpressionTextureBase.h |
|
| SamplerType | TEnumAsByte< EMaterialSamplerType > | Materials/MaterialExpressionTextureBase.h |
|
|
| Texture | TObjectPtr< UTexture > | Materials/MaterialExpressionTextureBase.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AutoSetSampleType() |
Automatically determines and set the sampler type for the current texture. | Materials/MaterialExpressionTextureBase.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanReferenceTexture() |
Returns true if GetReferencedTexture() / GetReferencedTextures() can ever return a valid pointer(s). | Materials/MaterialExpressionTextureBase.h | |
virtual FString GetDescription() |
Get a single line description of the material expression (used for lists) | Materials/MaterialExpressionTextureBase.h | |
virtual FText GetPreviewOverlayText() |
Materials/MaterialExpressionTextureBase.h | ||
virtual UObject * GetReferencedTexture () |
Callback to get any texture reference this expression emits. | Materials/MaterialExpressionTextureBase.h | |
virtual bool MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query | Materials/MaterialExpressionTextureBase.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Materials/MaterialExpressionTextureBase.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static EMaterialSamplerType GetSamplerTypeForTexture
(
const UTexture* Texture, |
Returns the default sampler type for the specified texture. | Materials/MaterialExpressionTextureBase.h | |
static bool VerifySamplerType
(
const FString& TexturePathName, |
Materials/MaterialExpressionTextureBase.h | ||
static bool VerifySamplerType
(
EShaderPlatform ShaderPlatform, |
Verify that the texture and sampler type. Generates a compiler waring if they do not. | Materials/MaterialExpressionTextureBase.h |