UMaterialExpressionTextureProperty

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UMaterialExpression

UMaterialExpressionTextureProperty

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionTextureProperty.h

Include

#include "Materials/MaterialExpressionTextureProperty.h"

Syntax

class UMaterialExpressionTextureProperty : public UMaterialExpression

Variables

Name Description

Public variable

TEnumAsByte< EM...

 

Property

Texture property to be accessed

Public variable

FExpressionInpu...

 

TextureObject

Constructors

Name Description

Public function

UMaterialExpressionTextureProperty

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UMaterialExpression

Name Description

Public function Virtual

int32

 

Compile

(
    FMaterialCompiler* Compiler,
    int32 OutputIndex
)

Create the new shader code chunk needed for the Abs expression

Public function Virtual Const

void

 

GetCaption

(
    TArray< FString >& OutCaptions
)

Returns the text to display on the material expression (in the material editor).

Public function Virtual

uint32

 

GetInputType

(
    int32 InputIndex
)

Public function Virtual Const

void

 

GetTexturesForceMaterialRecompile

(
    TArray< UTexture* >& Textures
)

Fill the array with all textures dependence that should trig a recompile of the material.

Public function Virtual

bool

 

MatchesSearchQuery

(
    const TCHAR* SearchQuery
)

MatchesSearchQuery: Check this expression to see if it matches the search query

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss