Navigation
API > API/Plugins > API/Plugins/ControlRigEditor
Calculates for a set of tracks under an actor in sequencer the set of dependencies that it requires to caluclate it's transform, so parent actors, attachments/constraints etc. This is somewhat similar to what you would calculate with a DAG to figure out dependencies but since we don't have a DAG we need to do this manually by walking parents/tracks. It will also calcualate the corresponding UMovieSceneSignedObjectFGuid signatures, which will then be used to determine if we need to recalculate an objects tranforms, like with motion trails since some downstream dependency has changed.
| Name | FSequencerTransformDependencies |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRigEditor/Public/Tools/EvaluateSequencerTools.h |
| Include Path | #include "Tools/EvaluateSequencerTools.h" |
Syntax
struct FSequencerTransformDependencies
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NonSequencerActors | TSet< AActor * > | Non sequencer actors that this object depends upon. | Tools/EvaluateSequencerTools.h | |
| SequencerActors | TMap< AActor *, FGuid > | Sequencer actor dependencies. | Tools/EvaluateSequencerTools.h | |
| Tracks | TMap< TWeakObjectPtr< UMovieSceneTrack >, FGuid > | These are the values calculated by CalculateDependents function Track dependencies | Tools/EvaluateSequencerTools.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CalculateDependencies
(
ISequencer* InSequencer, |
Main function to calculate the dependencies for an actor and a set of tracks under that actor. | Tools/EvaluateSequencerTools.h | |
bool Compare
(
FSequencerTransformDependencies& CopyInIfDifferent |
Compare 2 set of dependencies to see if they have changed. | Tools/EvaluateSequencerTools.h | |
void CopyFrom
(
const FSequencerTransformDependencies& Other |
Copy other set of dependencies to this one. | Tools/EvaluateSequencerTools.h | |
bool IsEmpty() |
If setup or not. | Tools/EvaluateSequencerTools.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TArray< UMovieSceneTrack * > GetTransformAffectingTracks
(
UMovieScene* InMovieScene, |
Get the list of tracks in the moviescene with this binding that may effect the final transform of something in the binding. | Tools/EvaluateSequencerTools.h |