Navigation
API > API/Plugins > API/Plugins/USDStage
The Unreal equivalent (twin) of a USD prim
| Name | UUsdPrimTwin |
| Type | class |
| Header File | /Engine/Plugins/Importers/USDImporter/Source/USDStage/Public/USDPrimTwin.h |
| Include Path | #include "USDPrimTwin.h" |
Syntax
UCLASS (Transient, MinimalAPI)
class UUsdPrimTwin : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UUsdPrimTwin
Classes
| Name | Remarks |
|---|---|
| FOnUsdPrimTwinDestroyed |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnDestroyed | FOnUsdPrimTwinDestroyed | USDPrimTwin.h | ||
| PrimPath | FString | USDPrimTwin.h | ||
| SceneComponent | TWeakObjectPtr< class USceneComponent > | USDPrimTwin.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Children | TMap< FString, TObjectPtr< UUsdPrimTwin > > | Transient as we don't want to save this to disk, but we'll implement Serialize() to duplicate this over when we're being duplicated | USDPrimTwin.h |
|
| Parent | TWeakObjectPtr< UUsdPrimTwin > | USDPrimTwin.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UUsdPrimTwin & AddChild
(
const FString& InPrimPath |
USDPrimTwin.h | ||
void Clear() |
USDPrimTwin.h | ||
UUsdPrimTwin * Find
(
const FString& InPrimPath |
USDPrimTwin.h | ||
UUsdPrimTwin * Find
(
const USceneComponent* InSceneComponent |
USDPrimTwin.h | ||
const TMap< FString, TObjectPtr< UUsdPrimTwin > > & GetChildren() |
USDPrimTwin.h | ||
UUsdPrimTwin * GetParent() |
USDPrimTwin.h | ||
USceneComponent * GetSceneComponent() |
USDPrimTwin.h | ||
void Iterate
(
TFunction< void(UUsdPrimTwin&)> Func, |
USDPrimTwin.h | ||
void RemoveChild
(
const TCHAR* InPrimPath |
USDPrimTwin.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Serialize
(
FArchive& Ar |
USDPrimTwin.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FName GetChildrenPropertyName() |
USDPrimTwin.h |