UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ComponentElementDataUtil Namespace Reference

Functions

UActorComponentGetComponentFromHandle (const FTypedElementHandle &InHandle, const bool bSilent)
 
UActorComponentGetComponentFromHandleChecked (const FTypedElementHandle &InHandle)
 
template<typename ElementHandleType >
TArray< UActorComponent * > GetComponentsFromHandles (TArrayView< const ElementHandleType > InHandles, const bool bSilent=false)
 
template<typename ElementHandleType >
TArray< UActorComponent * > GetComponentsFromHandlesChecked (TArrayView< const ElementHandleType > InHandles)
 

Function Documentation

◆ GetComponentFromHandle()

ENGINE_API UActorComponent * ComponentElementDataUtil::GetComponentFromHandle ( const FTypedElementHandle InHandle,
const bool  bSilent = false 
)

Attempt to get the actor component from the given element handle.

Note
This is not typically something you'd want to use outside of data access within an interface implementation.
Returns
The actor component if the element handle contains FComponentElementData, otherwise null.

◆ GetComponentFromHandleChecked()

ENGINE_API UActorComponent * ComponentElementDataUtil::GetComponentFromHandleChecked ( const FTypedElementHandle InHandle)

Attempt to get the actor component from the given element handle, asserting if the element handle doesn't contain FComponentElementData.

Note
This is not typically something you'd want to use outside of data access within an interface implementation.
Returns
The actor.

◆ GetComponentsFromHandles()

TArray< UActorComponent * > ComponentElementDataUtil::GetComponentsFromHandles ( TArrayView< const ElementHandleType InHandles,
const bool  bSilent = false 
)

Attempt to get the actor components from the given element handles.

Note
This is not typically something you'd want to use outside of data access within an interface implementation.
Returns
The actor components of any element handles that contain FComponentElementData, skipping any that don't.

◆ GetComponentsFromHandlesChecked()

TArray< UActorComponent * > ComponentElementDataUtil::GetComponentsFromHandlesChecked ( TArrayView< const ElementHandleType InHandles)

Attempt to get the actor components from the given element handles, asserting if any element handle doesn't contain FComponentElementData.

Note
This is not typically something you'd want to use outside of data access within an interface implementation.
Returns
The actor components.