Actor-GetComponentByID-T-(uint).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.Actor

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

Contents

  1. 0.1UnrealEngine.Framework.Actor
  2. 1(uint) Method">Actor.GetComponentByID&#x3C;T>(uint) Method