Navigation
API > API/Plugins > API/Plugins/USDStage
Builds and maintains the level sequence and subsequences for a Usd Stage
| Name | FUsdLevelSequenceHelper |
| Type | class |
| Header File | /Engine/Plugins/Importers/USDImporter/Source/USDStage/Public/USDLevelSequenceHelper.h |
| Include Path | #include "USDLevelSequenceHelper.h" |
Syntax
class FUsdLevelSequenceHelper
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUsdLevelSequenceHelper
(
FUsdLevelSequenceHelper&& Other |
USDLevelSequenceHelper.h | ||
FUsdLevelSequenceHelper
(
const FUsdLevelSequenceHelper& Other |
Copy semantics are there for convenience only. Copied FUsdLevelSequenceHelper are empty and require a call to Init(). | USDLevelSequenceHelper.h | |
| USDLevelSequenceHelper.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FUsdLevelSequenceHelper() |
USDLevelSequenceHelper.h |
Classes
| Name | Remarks |
|---|---|
| FOnSkelAnimationBaked |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| UsdSequencerImpl | TUniquePtr< FUsdLevelSequenceHelperImpl > | USDLevelSequenceHelper.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddPrim
(
UUsdPrimTwin& PrimTwin, |
Adds the necessary tracks for a given prim to the level sequence. | USDLevelSequenceHelper.h | |
void BindToUsdStageActor
(
AUsdStageActor* StageActor |
Creates the time track for the StageActor. | USDLevelSequenceHelper.h | |
void BlockMonitoringChangesForThisTransaction() |
USDLevelSequenceHelper.h | ||
void Clear() |
Resets the helper, abandoning all managed LevelSequences | USDLevelSequenceHelper.h | |
ULevelSequence * GetMainLevelSequence() |
USDLevelSequenceHelper.h | ||
FOnSkelAnimationBaked & GetOnSkelAnimationBaked() |
USDLevelSequenceHelper.h | ||
| Gets the current root motion handling mode. | USDLevelSequenceHelper.h | ||
TArray< ULevelSequence * > GetSubSequences() |
USDLevelSequenceHelper.h | ||
bool HasData() |
Returns true if we have at least one possessable or a reference to a subsequence | USDLevelSequenceHelper.h | |
ULevelSequence * Init
(
const UE::FUsdStage& UsdStage |
Creates the main level sequence and subsequences from the usd stage layers | USDLevelSequenceHelper.h | |
void OnStageActorRenamed() |
Call this whenever the stage actor is renamed, to replace the possessable binding with a new one | USDLevelSequenceHelper.h | |
void RemovePrim
(
const UUsdPrimTwin& PrimTwin |
Removes any track associated with this prim | USDLevelSequenceHelper.h | |
bool Serialize
(
FArchive& Ar |
Allows serialization for transaction support | USDLevelSequenceHelper.h | |
void SetBBoxCache
(
TSharedPtr< UE::FUsdGeomBBoxCache > InBBoxCache |
Sets the BBoxCache to use when importing bound animations for prims. | USDLevelSequenceHelper.h | |
PRAGMA_DISABLE_DEPRECATION_WARNINGS void SetInfoCache
(
TSharedPtr< FUsdInfoCache > InInfoCache |
Sets the asset cache to use when fetching assets and asset info required for the level sequence animation, like UAnimSequences | USDLevelSequenceHelper.h | |
PRAGMA_ENABLE_DEPRECATION_WARNINGS void SetPrimLinkCache
(
UUsdPrimLinkCache* PrimLinkCache |
USDLevelSequenceHelper.h | ||
void SetRootMotionHandling
(
EUsdRootMotionHandling NewValue |
Sets the current root motion handling mode. | USDLevelSequenceHelper.h | |
void StartMonitoringChanges() |
Blocks updating the level sequences & tracks from object changes. | USDLevelSequenceHelper.h | |
void StopMonitoringChanges() |
USDLevelSequenceHelper.h | ||
void UnbindFromUsdStageActor() |
USDLevelSequenceHelper.h | ||
void UpdateControlRigTracks
(
UUsdPrimTwin& PrimTwin |
USDLevelSequenceHelper.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FUsdLevelSequenceHelper & operator=
(
FUsdLevelSequenceHelper&& Other |
USDLevelSequenceHelper.h | ||
FUsdLevelSequenceHelper & operator=
(
const FUsdLevelSequenceHelper& Other |
USDLevelSequenceHelper.h |