DefineChildComponent

Overload list

Windows
MacOS
Linux
Name Description

Public function

void

 

DefineChildComponent

(
    FComponentTypeID InChildComponent
)

Defines a component as something that should always be created on every child entity.

Public function

void

 

DefineChildComponent

Adds the definition for a child component. The helper methods above are easier and preferrable.

Public function

void

 

DefineChildComponent

(
    FComponentTypeID InParentComponent,
    FComponentTypeID InChildComponent
)

Specifies that if a component is present on a parent entity, the given child component should be created on any child entity.

Public function

void

 

DefineChildComponent

(
    TComponentTypeID< ParentComponent >...,
    TComponentTypeID< ChildComponent > ...,
    InitializerCallback&& InInitialize...
)

Specifies that if a component is present on a parent entity, the given child component should be created on any child entity, and initialized with the given initializer.

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