Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1000 Bytes

Actor-GetComponentByID-T-(uint).md

File metadata and controls

22 lines (19 loc) · 1000 Bytes

Actor.GetComponentByID<T>(uint) Method

Returns the component of the actor if matches the specified type and ID

public T GetComponentByID<T>(uint id)
    where T : UnrealEngine.Framework.ActorComponent;

Type parameters

T
The type of the component

Constraints ActorComponent

Parameters

id System.UInt32
The ID of the component

Returns

T
A component or null on failure