Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h |
Include |
#include "Components/SceneComponent.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Components/SceneComponent.cpp |
void SetupAttachment
(
USceneComponent * InParent,
FName InSocketName
)
Initializes desired Attach Parent and SocketName to be attached to when the component is registered. Generally intended to be called from its Owning Actor's constructor and should be preferred over AttachToComponent when a component is not registered.
Parameter |
Description |
---|---|
InParent |
Parent to attach to. |
InSocketName |
Optional socket to attach to on the parent. |