Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionTextureBase
- UMaterialExpressionTextureObject
- UMaterialExpressionTextureSample
- UMaterialExpressionParticleSubUV
- UMaterialExpressionTextureSampleParameter
- UMaterialExpressionTextureObjectParameter
- UMaterialExpressionTextureSampleParameter2D
- UMaterialExpressionAntialiasedTextureMask
- UMaterialExpressionMaterialXTextureSampleParameterBlur
- UMaterialExpressionTextureSampleParameterSubUV
- UMaterialExpressionTextureSampleParameter2DArray
- UMaterialExpressionTextureSampleParameterCube
- UMaterialExpressionTextureSampleParameterCubeArray
- UMaterialExpressionTextureSampleParameterVolume
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionTextureBase.h |
| Include | #include "Materials/MaterialExpressionTextureBase.h" |
Syntax
UCLASS (Abstract, HideCategories=Object, MinimalAPI)
class UMaterialExpressionTextureBase : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | IsDefaultMeshpaintTexture | Is default selected texture when using mesh paint mode texture painting | |
| TEnumAsByte< EMaterialSamplerType > | SamplerType | ||
| TObjectPtr< UTexture > | Texture |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionTextureBase
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Automatically determines and set the sampler type for the current texture. | ||
| EMaterialSamplerType | GetSamplerTypeForTexture
(
const UTexture* Texture, |
Returns the default sampler type for the specified texture. | |
| bool | VerifySamplerType
(
const FString& TexturePathName, |
||
| bool | VerifySamplerType
(
EShaderPlatform ShaderPlatform, |
Verify that the texture and sampler type. Generates a compiler waring if they do not. |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| bool | Returns true if GetReferencedTexture() / GetReferencedTextures() can ever return a valid pointer(s). | ||
| FString | Get a single line description of the material expression (used for lists) | ||
| FText | |||
| UObject * | Callback to get any texture reference this expression emits. | ||
| bool | MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |