UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMaterialTextureInfo Struct Reference

#include <MaterialInterface.h>

Public Member Functions

 FMaterialTextureInfo ()
 
 FMaterialTextureInfo (ENoInit)
 
ENGINE_API bool IsValid (bool bCheckTextureIndex=false) const
 

Public Attributes

float SamplingScale
 
int32 UVChannelIndex
 
FName TextureName
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FMaterialTextureInfo() [1/2]

FMaterialTextureInfo::FMaterialTextureInfo ( )
inline

◆ FMaterialTextureInfo() [2/2]

FMaterialTextureInfo::FMaterialTextureInfo ( ENoInit  )
inline

Member Function Documentation

◆ IsValid()

bool FMaterialTextureInfo::IsValid ( bool  bCheckTextureIndex = false) const

Return whether the data is valid to be used

Member Data Documentation

◆ SamplingScale

float FMaterialTextureInfo::SamplingScale

The scale used when sampling the texture

◆ TextureName

FName FMaterialTextureInfo::TextureName

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

◆ UVChannelIndex

int32 FMaterialTextureInfo::UVChannelIndex

The coordinate index used when sampling the texture


The documentation for this struct was generated from the following files: