UMeshComponent::GetMaterialRelevance

Accesses the scene relevance information for the materials applied to the mesh.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UMeshComponent::GetMaterialRelevance()

UBaseDynamicMeshComponent::GetMaterialRelevance()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/MeshComponent.h

Include

#include "Components/MeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/MeshComponent.cpp

Syntax

virtual FMaterialRelevance GetMaterialRelevance
(
    ERHIFeatureLevel::Type InFeatureLevel
) const

Remarks

Accesses the scene relevance information for the materials applied to the mesh. Valid from game thread only.