Navigation
API > API/Plugins > API/Plugins/UnrealUSDWrapper > API/Plugins/UnrealUSDWrapper/UsdWrappers
References
| Module | UnrealUSDWrapper |
| Header | /Engine/Plugins/Importers/USDImporter/Source/UnrealUSDWrapper/Public/UsdWrappers/ForwardDeclarations.h |
| Include | #include "UsdWrappers/ForwardDeclarations.h" |
| Source | /Engine/Plugins/Importers/USDImporter/Source/UnrealUSDWrapper/Public/UsdWrappers/SdfLayer.h |
Syntax
template<typename PtrType>
class FSdfLayerBase
Remarks
Minimal pxr::SdfLayer pointer wrapper for Unreal that can be used from no-rtti modules. Use the aliases FSdfLayer and FSdfLayerWeak instead (defined on ForwardDeclarations.h)
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSdfLayerBase
(
const FSdfLayer& Other |
|||
FSdfLayerBase
(
FSdfLayer&& Other |
|||
FSdfLayerBase
(
const FSdfLayerWeak& Other |
|||
FSdfLayerBase
(
FSdfLayerWeak&& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clear () |
||
| FString | ComputeAbsolutePath
(
const FString& AssetPath |
||
| FSdfLayer | |||
| void | EraseTimeSample
(
const FSdfPath& Path, |
||
| bool | |||
| FSdfLayer | FindOrOpen
(
const TCHAR* Identifier, |
||
| FString | GetComment () |
Wrapped pxr::SdfLayer functions, refer to the USD SDK documentation. | |
| TSet< FString > | |||
| FString | |||
| double | |||
| TMap< FString, FString > | |||
| double | |||
| FString | |||
| TSet< FSdfLayerWeak > | |||
| int64 | |||
| FSdfPrimSpec | GetPrimAtPath
(
const FSdfPath& Path |
||
| FSdfPrimSpec | |||
| FString | GetRealPath () |
||
| double | |||
| FSdfLayerOffset | GetSubLayerOffset
(
int32 Index |
||
| TArray< FSdfLayerOffset > | |||
| TArray< FString > | |||
| double | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| void | InsertSubLayerPath
(
const FString& Path, |
||
| bool | IsAnonymous () |
||
| bool | IsDirty () |
||
| bool | IsEmpty () |
||
| bool | IsMuted () |
||
| TSet< double > | ListTimeSamplesForPath
(
const FSdfPath& Path |
||
| void | RemoveSubLayerPath
(
int32 Index |
||
| bool | Save
(
bool bForce |
||
| void | SetComment
(
const TCHAR* Comment |
||
| void | SetEndTimeCode
(
double TimeCode |
||
| void | SetFramesPerSecond
(
double FramesPerSecond |
||
| void | SetMuted
(
bool bMuted |
||
| void | SetStartTimeCode
(
double TimeCode |
||
| void | SetSubLayerOffset
(
const FSdfLayerOffset& Offset, |
||
| void | SetSubLayerPaths
(
const TArray< FString >& NewPaths |
||
| void | SetTimeCodesPerSecond
(
double TimeCodesPerSecond |
||
| void | TransferContent
(
const FSdfLayer& SourceLayer |
||
| bool | UpdateCompositionAssetDependency
(
const TCHAR* OldAssetPath, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FSdfLayerBase< OtherPtrType >& Other |
||
| FSdfLayerBase & | operator=
(
FSdfLayer&& Other |
||
| FSdfLayerBase & | operator=
(
const FSdfLayer& Other |
||
| FSdfLayerBase & | operator=
(
const FSdfLayerWeak& Other |
||
| FSdfLayerBase & | operator=
(
FSdfLayerWeak&& Other |
||
| bool | operator==
(
const FSdfLayerBase< OtherPtrType >& Other |