Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Materials > UMaterialExpressionTextureBase
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 |
static EMaterialSamplerType GetSamplerTypeForTexture
&40;
const UTexture &42; Texture,
bool ForceNoVT
&41;
Remarks
Returns the default sampler type for the specified texture. the default sampler type for the specified texture.
Parameters
Name | Description |
---|---|
Texture | The texture for which the default sampler type will be returned. |