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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback