Navigation
API > API/Plugins > API/Plugins/InterchangeOpenUSDImport
| Name | UInterchangeUsdContext |
| Type | class |
| Header File | /Engine/Plugins/Interchange/Extensions/OpenUSD/Source/Import/Public/InterchangeUsdContext.h |
| Include Path | #include "InterchangeUsdContext.h" |
Syntax
UCLASS (BlueprintType)
class UInterchangeUsdContext : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UInterchangeUsdContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UInterchangeUsdContext() |
InterchangeUsdContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShouldCleanUpFromStageCache | bool | InterchangeUsdContext.h | ||
| InfoCache | FUsdInfoCache * | InterchangeUsdContext.h | ||
| OwnedInfoCache | TUniquePtr< FUsdInfoCache > | InterchangeUsdContext.h | ||
| StageIdInUsdUtilsStageCache | int64 | We never store the stage itself, but only it's Id within the UsdUtils' singleton StageCache. | InterchangeUsdContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUsdInfoCache * CreateOwnedInfoCache() |
Create an info cache that is fully owned by this UInterchangeUsdContext object, and set it as the current info cache. | InterchangeUsdContext.h | |
FUsdInfoCache * GetInfoCache() |
Returns the current info cache, whether it is one we fully own, or just an external reference we're tracking. | InterchangeUsdContext.h | |
int64 GetStageId() |
Returns the ID the provided stage has within the USDUtils' singleton StageCache. | InterchangeUsdContext.h |
|
UE::FUsdStage GetUsdStage() |
Convenience functions to get/set the stage directly, although it will internally just get/set the stage into the UsdUtils' singleton StageCache and track it's Id instead. | InterchangeUsdContext.h | |
void ReleaseInfoCache() |
Properly releases the reference to the current stage cache, whether owned or not (deleting it if owned) | InterchangeUsdContext.h | |
void Reset() |
InterchangeUsdContext.h | ||
void SetExternalInfoCache
(
FUsdInfoCache& InInfoCache |
Receive a reference to an info cache that is external to this object and set it as the current info cache. | InterchangeUsdContext.h | |
void SetStageId
(
int64 InStageId |
Sets the ID of a particular stage from the UsdUtils' singleton StageCache. | InterchangeUsdContext.h |
|
bool SetUsdStage
(
const UE::FUsdStage& InStage |
InterchangeUsdContext.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
InterchangeUsdContext.h |