![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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 |
This struct holds data about how a texture is sampled within a material.
|
inline |
|
inline |
Return whether the data is valid to be used
| float FMaterialTextureInfo::SamplingScale |
The scale used when sampling the texture
| FName FMaterialTextureInfo::TextureName |
The texture name. Used for debugging and also to for quick matching of the entries.
| int32 FMaterialTextureInfo::UVChannelIndex |
The coordinate index used when sampling the texture