AUsdStageActor::GetGeneratedComponent

Gets the transient component that was generated for a prim with a given prim path.

Windows
MacOS
Linux

References

Module

USDStage

Header

/Engine/Plugins/Importers/USDImporter/Source/USDStage/Public/USDStageActor.h

Include

#include "USDStageActor.h"

Source

/Engine/Plugins/Importers/USDImporter/Source/USDStage/Private/USDStageActor.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="USD", Meta=(CallInEditor="true"))
USceneComponent * GetGeneratedComponent
(
    const FString & PrimPath
)

Remarks

Gets the transient component that was generated for a prim with a given prim path. Warning: The lifetime of the component is managed by the AUsdStageActor, and it may be force-destroyed at any time (e.g. when closing the stage)

Returns

The corresponding spawned component. It may correspond to a parent prim, if the prim at PrimPath was collapsed. Nullptr if path is invalid.

Parameters

Parameter

Description

PrimPath

Full path to the source prim, e.g. "/root_prim/my_prim"

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