UMaterialExpressionTextureBase::GetSamplerTypeForTexture

Returns the default sampler type for the specified texture.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionTextureBase.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp

Syntax

static EMaterialSamplerType GetSamplerTypeForTexture
(
    const UTexture * Texture,
    bool ForceNoVT
)

Remarks

Returns the default sampler type for the specified texture.

Returns

the default sampler type for the specified texture.

Parameters

Parameter

Description

Texture

The texture for which the default sampler type will be returned.

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