Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FStaticMeshComponentRecreateRend-
Description
Get all static mesh components that are using the provided static mesh.
Will only work using the static meshes provided at construction.
| Name | GetComponentsUsingMesh |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
| Include Path | #include "StaticMeshResources.h" |
| Source | /Engine/Source/Runtime/Engine/Private/StaticMeshResources.cpp |
const TArray < UStaticMeshComponent * > & GetComponentsUsingMesh
(
UStaticMesh * StaticMesh
) const
An reference to an array of static mesh components that are using this mesh.
Parameters
| Name | Remarks |
|---|---|
| StaticMesh | The static mesh from which you want to obtain a list of components. |