Navigation
API > API/Plugins > API/Plugins/UnrealUSDWrapper
In the USD API, pxr::SdfPayload and pxr::SdfReference are very similar except that the latter includes support for a custom data dictionary. The UE wrapping of SdfReference does not currently include support for that custom data, leaving the FSdfReference wrapper identical to the FSdfPayload wrapper. We keep them as distinct types though to better mimic the USD API and in case support for custom data dictionaries on references is added to the FSdfReference wrapper in the future.
| Name | FSdfReference |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/UnrealUSDWrapper/Public/UsdWrappers/SdfLayer.h |
| Include Path | #include "UsdWrappers/SdfLayer.h" |
Syntax
struct FSdfReference
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSdfReference
(
const FString& InAssetPath, |
UsdWrappers/SdfLayer.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetPath | FString | UsdWrappers/SdfLayer.h | ||
| LayerOffset | FSdfLayerOffset | UsdWrappers/SdfLayer.h | ||
| PrimPath | FSdfPath | UsdWrappers/SdfLayer.h |