FMaterialTextureInfo

This struct holds data about how a texture is sampled within a material.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Materials/MaterialInterface.h"

Syntax

struct FMaterialTextureInfo

Remarks

This struct holds data about how a texture is sampled within a material.

Variables

Name Description

Public variable

float

 

SamplingScale

The scale used when sampling the texture

Public variable

int32

 

TextureIndex

The texture index in the material resource the data was built from.

Public variable

FName

 

TextureName

The texture name. Used for debugging and also to for quick matching of the entries.

Public variable

FSoftObjectPath

 

TextureReference

The reference to the texture, used to keep the TextureName valid even if it gets renamed.

Public variable

int32

 

UVChannelIndex

The coordinate index used when sampling the texture

Constructors

Functions

Name Description

Public function Const

bool

 

IsValid

(
    bool bCheckTextureIndex
)

Return whether the data is valid to be used

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