AUsdStageActor::GetSourcePrimPath

Gets the path to the prim that was parsed to generate the given `Object_.

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"))
FString GetSourcePrimPath
(
    UObject * Object
)

Remarks

Gets the path to the prim that was parsed to generate the given `Object_.

Returns

The path to the source prim, e.g. "/root_prim/some_prim". May be empty in case we couldn't find the source prim.

Parameters

Parameter

Description

Object

UObject to query with. Can be one of the transient components generated when a stage was opened, or something like a UStaticMesh.

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