USimpleConstructionScript::GetSceneRootComponentTemplate

Helper function to find the current scene root component template and optionally the owning SCS node

Windows
MacOS
Linux

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

Syntax

USceneComponent * GetSceneRootComponentTemplate
(
    bool bShouldUseDefaultRoot,
    USCS_Node ** OutSCSNode
) const

Remarks

Helper function to find the current scene root component template and optionally the owning SCS node

Parameters

Parameter

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

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