Navigation
API > API/Plugins > API/Plugins/USDStage
References
| Module | USDStage |
| Header | /Engine/Plugins/Importers/USDImporter/Source/USDStage/Public/USDLevelSequenceHelper.h |
| Include | #include "USDLevelSequenceHelper.h" |
Syntax
class FUsdLevelSequenceHelper
Remarks
Builds and maintains the level sequence and subsequences for a Usd Stage
Constructors
| Type | Name | Description | |
|---|---|---|---|
FUsdLevelSequenceHelper
(
const FUsdLevelSequenceHelper& Other |
Copy semantics are there for convenience only. Copied FUsdLevelSequenceHelper are empty and require a call to Init(). | ||
FUsdLevelSequenceHelper
(
FUsdLevelSequenceHelper&& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPrim
(
UUsdPrimTwin& PrimTwin, |
Adds the necessary tracks for a given prim to the level sequence. | |
| void | BindToUsdStageActor
(
AUsdStageActor* StageActor |
Creates the time track for the StageActor. | |
| void | |||
| void | Clear () |
Resets the helper, abandoning all managed LevelSequences | |
| ULevelSequence * | |||
| FOnSkelAnimationBaked & | |||
| EUsdRootMotionHandling | Gets the current root motion handling mode. | ||
| TArray< ULevelSequence * > | |||
| bool | HasData () |
Returns true if we have at least one possessable or a reference to a subsequence | |
| ULevelSequence * | Init
(
const UE::FUsdStage& UsdStage |
Creates the main level sequence and subsequences from the usd stage layers | |
| void | Call this whenever the stage actor is renamed, to replace the possessable binding with a new one | ||
| void | RemovePrim
(
const UUsdPrimTwin& PrimTwin |
Removes any track associated with this prim | |
| bool | Allows serialization for transaction support | ||
| void | SetBBoxCache
(
TSharedPtr< UE::FUsdGeomBBoxCache > InBBoxCache |
Sets the BBoxCache to use when importing bound animations for prims. | |
| 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 | |
| void | SetPrimLinkCache
(
UUsdPrimLinkCache* PrimLinkCache |
||
| void | SetRootMotionHandling
(
EUsdRootMotionHandling NewValue |
Sets the current root motion handling mode. | |
| void | Blocks updating the level sequences & tracks from object changes. | ||
| void | |||
| void | |||
| void | UpdateControlRigTracks
(
UUsdPrimTwin& PrimTwin |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FUsdLevelSequenceHelper & | operator=
(
FUsdLevelSequenceHelper&& Other |
||
| FUsdLevelSequenceHelper & | operator=
(
const FUsdLevelSequenceHelper& Other |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnSkelAnimationBaked |