UMaterialExpressionTextureBase

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionTextureBase.h"

Syntax

class UMaterialExpressionTextureBase : public UMaterialExpression

Variables

Name Description

Public variable

uint8: 1

 

IsDefaultMeshpaintTexture

Is default selected texture when using mesh paint mode texture painting

Public variable

TEnumAsByte< en...

 

SamplerType

Public variable

UTexture *

 

Texture

Constructors

Name Description

Public function

UMaterialExpressionTextureBase

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AutoSetSampleType()

Automatically determines and set the sampler type for the current texture.

Public function Static

EMaterialSam...

 

GetSamplerTypeForTexture

(
    const UTexture* Texture,
    bool ForceNoVT
)

Returns the default sampler type for the specified texture.

Overridden from UMaterialExpression

Name Description

Public function Virtual Const

bool

 

CanReferenceTexture()

Returns true if GetReferencedTexture() can ever return a valid pointer.

Public function Virtual Const

FString

 

GetDescription()

Get a single line description of the material expression (used for lists)

Public function Virtual Const

FText

 

GetPreviewOverlayText()

Public function Virtual Const

UObject *...

 

GetReferencedTexture()

Callback to get any texture reference this expression emits.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

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