Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UMeshComponent
Description
Accesses the scene relevance information for the materials applied to the mesh. Valid from game thread only.
| Name | GetMaterialRelevance |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h |
| Include Path | #include "Components/MeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp |
virtual FMaterialRelevance GetMaterialRelevance
(
ERHIFeatureLevel::Type InFeatureLevel
) const