FStaticMeshComponentRecreateRenderStateContext::GetComponentsUsingMesh

Get all static mesh components that are using the provided static mesh.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/StaticMeshResources.h

Include

#include "StaticMeshResources.h"

Syntax

const TArray< UStaticMeshComponent * > & GetComponentsUsingMesh
(
    UStaticMesh * StaticMesh
) const

Remarks

Get all static mesh components that are using the provided static mesh.

Returns

An reference to an array of static mesh components that are using this mesh. @note Will only work using the static meshes provided at construction.

Parameters

Parameter

Description

StaticMesh

The static mesh from which you want to obtain a list of components.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss