UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSkinnedMeshComponentHelper Class Reference

#include <SkinnedMeshComponentHelper.h>

Static Public Member Functions

template<typename T >
static UMaterialInterfaceGetMaterial (const T &InComponent, int32 InMaterialIndex)
 
template<typename T >
static void GetUsedMaterials (const T &InComponent, TArray< UMaterialInterface * > &OutMaterials, bool bInGetDebugMaterials)
 
template<typename T >
static void GetDefaultMaterialSlotsOverlayMaterial (const T &InComponent, TArray< TObjectPtr< UMaterialInterface > > &OutMaterials)
 
template<typename T >
static int32 GetNumLODs (const T &InComponent)
 
template<typename T >
static int32 ComputeMinLOD (const T &InComponent)
 
template<typename T >
static int32 GetValidMinLOD (const T &InComponent, const int32 InMinLODIndex)
 
template<typename T >
static const Nanite::FResourcesGetNaniteResources (const T &InComponent)
 
template<typename T >
static bool HasValidNaniteData (const T &InComponent)
 
template<typename T >
static bool ShouldNaniteSkin (const T &InComponent)
 
template<typename T >
static FSkeletalMeshRenderDataGetSkeletalMeshRenderData (const T &InComponent)
 

Detailed Description

Helper class used to share implementation for different SkinnedMeshComponent types

Member Function Documentation

◆ ComputeMinLOD()

template<class T >
int32 FSkinnedMeshComponentHelper::ComputeMinLOD ( const T &  InComponent)
static

◆ GetDefaultMaterialSlotsOverlayMaterial()

template<class T >
void FSkinnedMeshComponentHelper::GetDefaultMaterialSlotsOverlayMaterial ( const T &  InComponent,
TArray< TObjectPtr< UMaterialInterface > > &  OutMaterials 
)
static

◆ GetMaterial()

template<class T >
UMaterialInterface * FSkinnedMeshComponentHelper::GetMaterial ( const T &  InComponent,
int32  InMaterialIndex 
)
static

◆ GetNaniteResources()

template<typename T >
const Nanite::FResources * FSkinnedMeshComponentHelper::GetNaniteResources ( const T &  InComponent)
static

◆ GetNumLODs()

template<class T >
int32 FSkinnedMeshComponentHelper::GetNumLODs ( const T &  InComponent)
static

◆ GetSkeletalMeshRenderData()

template<class T >
FSkeletalMeshRenderData * FSkinnedMeshComponentHelper::GetSkeletalMeshRenderData ( const T &  InComponent)
static

◆ GetUsedMaterials()

template<class T >
void FSkinnedMeshComponentHelper::GetUsedMaterials ( const T &  InComponent,
TArray< UMaterialInterface * > &  OutMaterials,
bool  bInGetDebugMaterials 
)
static

◆ GetValidMinLOD()

template<class T >
int32 FSkinnedMeshComponentHelper::GetValidMinLOD ( const T &  InComponent,
const int32  InMinLODIndex 
)
static

NOTE: We're logging if the index is not valid in the render data but we still want to return a valid value from 0 to max. Render data could be invalid if we're still loading/streaming in the asset.

◆ HasValidNaniteData()

template<typename T >
bool FSkinnedMeshComponentHelper::HasValidNaniteData ( const T &  InComponent)
static

◆ ShouldNaniteSkin()

template<typename T >
bool FSkinnedMeshComponentHelper::ShouldNaniteSkin ( const T &  InComponent)
static

The documentation for this class was generated from the following file: