Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > USimpleConstructionScript
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/SimpleConstructionScript.h |
Include | #include "Engine/SimpleConstructionScript.h" |
Source | /Engine/Source/Runtime/Engine/Private/SimpleConstructionScript.cpp |
USceneComponent &42; GetSceneRootComponentTemplate
&40;
bool bShouldUseDefaultRoot,
USCS_Node &42;&42; OutSCSNode
&41; const
Remarks
Helper function to find the current scene root component template and optionally the owning SCS node
Parameters
Name | Description |
---|---|
bShouldUseDefaultRoot | Whether the default scene root, if already in the root node set, should be used (note this will return null in that case because of the expectations of other calling code) |
OutSCSNode | If not-null, the SCSNode for the scene root component will be returned in this variable |