AUsdStageActor::GetSourcePrimPath

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

Choose your operating system:

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(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.