AActor::SetRootComponent

Syntax

bool SetRootComponent
(
    USceneComponent * NewRootComponent
)

Remarks

Sets root component to be the specified component. NewRootComponent's owner should be this actor.

Returns

true if successful

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp