Navigation
API > API/Plugins > API/Plugins/UnrealUSDWrapper
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)
| Name | FSdfLayerBase |
| Type | class |
| Header File | /Engine/Plugins/Runtime/USDCore/Source/UnrealUSDWrapper/Public/UsdWrappers/ForwardDeclarations.h |
| Include Path | #include "UsdWrappers/ForwardDeclarations.h" |
| Source | /Engine/Plugins/Runtime/USDCore/Source/UnrealUSDWrapper/Public/UsdWrappers/SdfLayer.h |
Syntax
template<typename PtrType>
class FSdfLayerBase
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSdfLayerBase
(
FSdfLayer&& Other |
UsdWrappers/SdfLayer.h | ||
FSdfLayerBase
(
const FSdfLayerWeak& Other |
UsdWrappers/SdfLayer.h | ||
FSdfLayerBase
(
FSdfLayerWeak&& Other |
UsdWrappers/SdfLayer.h | ||
FSdfLayerBase
(
const FSdfLayer& Other |
UsdWrappers/SdfLayer.h | ||
| UsdWrappers/SdfLayer.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSdfLayerBase() |
UsdWrappers/SdfLayer.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FSdfLayer | friend | UsdWrappers/SdfLayer.h | ||
| FSdfLayerWeak | friend | UsdWrappers/SdfLayer.h | ||
| Impl | TUniquePtr< Internal::FSdfLayerImpl< PtrType > > | UsdWrappers/SdfLayer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Clear() |
UsdWrappers/SdfLayer.h | ||
| UsdWrappers/SdfLayer.h | |||
void EraseTimeSample
(
const FSdfPath& Path, |
UsdWrappers/SdfLayer.h | ||
| UsdWrappers/SdfLayer.h | |||
| Wrapped pxr::SdfLayer functions, refer to the USD SDK documentation. | UsdWrappers/SdfLayer.h | ||
TSet< FString > GetCompositionAssetDependencies() |
UsdWrappers/SdfLayer.h | ||
FString GetDisplayName() |
UsdWrappers/SdfLayer.h | ||
double GetEndTimeCode() |
UsdWrappers/SdfLayer.h | ||
| UsdWrappers/SdfLayer.h | |||
double GetFramesPerSecond() |
UsdWrappers/SdfLayer.h | ||
FString GetIdentifier() |
UsdWrappers/SdfLayer.h | ||
int64 GetNumSubLayerPaths() |
UsdWrappers/SdfLayer.h | ||
FSdfPrimSpec GetPrimAtPath
(
const FSdfPath& Path |
UsdWrappers/SdfLayer.h | ||
FSdfPrimSpec GetPseudoRoot() |
UsdWrappers/SdfLayer.h | ||
FString GetRealPath() |
UsdWrappers/SdfLayer.h | ||
double GetStartTimeCode() |
UsdWrappers/SdfLayer.h | ||
FSdfLayerOffset GetSubLayerOffset
(
int32 Index |
UsdWrappers/SdfLayer.h | ||
TArray< FSdfLayerOffset > GetSubLayerOffsets() |
UsdWrappers/SdfLayer.h | ||
| UsdWrappers/SdfLayer.h | |||
double GetTimeCodesPerSecond() |
UsdWrappers/SdfLayer.h | ||
bool HasEndTimeCode() |
UsdWrappers/SdfLayer.h | ||
bool HasFramesPerSecond() |
UsdWrappers/SdfLayer.h | ||
bool HasSpec
(
const FSdfPath& Path |
UsdWrappers/SdfLayer.h | ||
bool HasStartTimeCode() |
UsdWrappers/SdfLayer.h | ||
bool HasTimeCodesPerSecond() |
UsdWrappers/SdfLayer.h | ||
void InsertSubLayerPath
(
const FString& Path, |
UsdWrappers/SdfLayer.h | ||
bool IsAnonymous() |
UsdWrappers/SdfLayer.h | ||
bool IsDirty() |
UsdWrappers/SdfLayer.h | ||
bool IsEmpty() |
UsdWrappers/SdfLayer.h | ||
bool IsMuted() |
UsdWrappers/SdfLayer.h | ||
TSet< double > ListTimeSamplesForPath
(
const FSdfPath& Path |
UsdWrappers/SdfLayer.h | ||
void Reload
(
bool bForce |
UsdWrappers/SdfLayer.h | ||
void RemoveSubLayerPath
(
int32 Index |
UsdWrappers/SdfLayer.h | ||
bool Save
(
bool bForce |
UsdWrappers/SdfLayer.h | ||
void SetComment
(
const TCHAR* Comment |
UsdWrappers/SdfLayer.h | ||
void SetEndTimeCode
(
double TimeCode |
UsdWrappers/SdfLayer.h | ||
void SetFramesPerSecond
(
double FramesPerSecond |
UsdWrappers/SdfLayer.h | ||
void SetMuted
(
bool bMuted |
UsdWrappers/SdfLayer.h | ||
void SetStartTimeCode
(
double TimeCode |
UsdWrappers/SdfLayer.h | ||
void SetSubLayerOffset
(
const FSdfLayerOffset& Offset, |
UsdWrappers/SdfLayer.h | ||
| UsdWrappers/SdfLayer.h | |||
void SetTimeCodesPerSecond
(
double TimeCodesPerSecond |
UsdWrappers/SdfLayer.h | ||
void TransferContent
(
const FSdfLayer& SourceLayer |
UsdWrappers/SdfLayer.h | ||
bool UpdateCompositionAssetDependency
(
const TCHAR* OldAssetPath, |
UsdWrappers/SdfLayer.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| UsdWrappers/SdfLayer.h | |||
| UsdWrappers/SdfLayer.h | |||
static TSet< FSdfLayerWeak > GetLoadedLayers() |
UsdWrappers/SdfLayer.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
UsdWrappers/SdfLayer.h | ||
FSdfLayerBase & operator=
(
FSdfLayer&& Other |
UsdWrappers/SdfLayer.h | ||
FSdfLayerBase & operator=
(
const FSdfLayer& Other |
UsdWrappers/SdfLayer.h | ||
FSdfLayerBase & operator=
(
const FSdfLayerWeak& Other |
UsdWrappers/SdfLayer.h | ||
FSdfLayerBase & operator=
(
FSdfLayerWeak&& Other |
UsdWrappers/SdfLayer.h | ||
bool operator==
(
const FSdfLayerBase< OtherPtrType >& Other |
We have to implement a templated comparison operator, or else we get ambigous conversions on the Mac targets when comparing FSdfLayer and FSdfLayerWeak | UsdWrappers/SdfLayer.h |