#include <MovieSceneInterrogationLinker.h>
|
| MOVIESCENETRACKS_API | FSystemInterrogator () |
| |
| MOVIESCENETRACKS_API | ~FSystemInterrogator () |
| |
| FInterrogationChannel | AllocateChannel (UObject *Object, const FMovieScenePropertyBinding &PropertyBinding) |
| |
| MOVIESCENETRACKS_API void | ImportTrack (UMovieSceneTrack *Track, FInterrogationChannel InChannel, FMovieSceneSequenceID SequenceID=MovieSceneSequenceID::Invalid) |
| |
| MOVIESCENETRACKS_API void | ImportTrack (UMovieSceneTrack *Track, const FGuid &ObjectBindingID, FInterrogationChannel InChannel, FMovieSceneSequenceID SequenceID=MovieSceneSequenceID::Invalid) |
| |
| MOVIESCENETRACKS_API FInterrogationChannel | ImportTransformHierarchy (USceneComponent *SceneComponent, IMovieScenePlayer *InPlayer, FMovieSceneSequenceID SequenceID) |
| |
| MOVIESCENETRACKS_API FInterrogationChannel | ImportLocalTransforms (USceneComponent *SceneComponent, IMovieScenePlayer *InPlayer, FMovieSceneSequenceID SequenceID) |
| |
| void | ImportTracks (TArrayView< UMovieSceneTrack *const > Tracks, FInterrogationChannel InChannel) |
| |
| void | ImportTracks (TArrayView< UMovieSceneTrack *const > Tracks, const FGuid &ObjectBindingID, FInterrogationChannel InChannel) |
| |
| MOVIESCENETRACKS_API int32 | AddInterrogation (const FInterrogationParams &Params) |
| |
| MOVIESCENETRACKS_API void | Update () |
| |
| MOVIESCENETRACKS_API void | Reset () |
| |
| MOVIESCENETRACKS_API void | TrackImportedEntities (bool bInTrackImportedEntities) |
| |
| MOVIESCENETRACKS_API FMovieSceneEntityID | FindEntityFromOwner (FInterrogationKey InterrogationKey, UObject *Owner, uint32 EntityID) const |
| |
| UMovieSceneEntitySystemLinker * | GetLinker () const |
| |
| int32 | GetNumChannels () const |
| |
| TArrayView< const FInterrogationParams > | GetInterrogations () const |
| |
| void | QueryLocalSpaceTransforms (USceneComponent *SceneComponent, TArray< FIntermediate3DTransform > &OutTransforms) const |
| |
| void | QueryLocalSpaceTransforms (FInterrogationChannel InChannel, TArray< FIntermediate3DTransform > &OutTransforms) const |
| |
| void | QueryLocalSpaceTransforms (TSparseArray< TArray< FIntermediate3DTransform > > &OutTransformsByChannel) const |
| |
| void | QueryLocalSpaceTransforms (const TBitArray<> &ChannelsToQuery, TSparseArray< TArray< FIntermediate3DTransform > > &OutTransformsByChannel) const |
| |
| void | QueryWorldSpaceTransforms (USceneComponent *SceneComponent, TArray< FTransform > &OutTransforms) const |
| |
| void | QueryWorldSpaceTransforms (FInterrogationChannel InChannel, TArray< FTransform > &OutTransforms) const |
| |
| void | QueryWorldSpaceTransforms (TSparseArray< TArray< FTransform > > &OutTransformsByChannel) const |
| |
| void | QueryWorldSpaceTransforms (const TBitArray<> &ChannelsToQuery, TSparseArray< TArray< FTransform > > &OutTransformsByChannel) const |
| |
| template<typename PropertyTraits > |
| void | QueryPropertyValues (const TPropertyComponents< PropertyTraits > &InPropertyComponents, TArray< typename PropertyTraits::StorageType > &OutValues) const |
| |
| template<typename PropertyTraits > |
| void | QueryPropertyValues (const TPropertyComponents< PropertyTraits > &InPropertyComponents, FInterrogationChannel InChannel, TArray< typename PropertyTraits::StorageType > &OutValues) const |
| |
| void | QueryTransformOrigins (TArray< FTransform > &OutTransformOrigins, TArray< FMovieSceneSequenceID > &SubsequenceHierarchy, const UObject *InstanceData) const |
| |
| const FSparseInterrogationChannelInfo & | GetSparseChannelInfo () const override |
| |
| virtual const FMovieSceneSequenceHierarchy * | GetHierarchy () const override |
| |
| void | SetHierarchy (FMovieSceneSequenceHierarchy *InHierarchy) |
| |
◆ FSystemInterrogator()
| UE::MovieScene::FSystemInterrogator::FSystemInterrogator |
( |
| ) |
|
◆ ~FSystemInterrogator()
| UE::MovieScene::FSystemInterrogator::~FSystemInterrogator |
( |
| ) |
|
◆ AddInterrogation()
Add a new time to interrogate this linker at, in the time-base of the imported tracks.
- Parameters
-
| Params | The desired time to interrogate at |
- Returns
- A unique index identifier for the specified time, or INDEX_NONE if the maximum number have been reached
◆ AllocateChannel()
Allocate a new interrogation channel that relates to a specific object
◆ FindEntityFromOwner()
Find an entity given the entity's owner.
- Note
- : Must call TrackImportedEntities(true) prior to calling ImportTrack for this function to return the correct entity
◆ GetExcludedFromInterrogationCategory()
Gets the custom system category for systems who should be excluded from interrogation linkers
◆ GetHierarchy()
◆ GetInterrogationCategory()
Gets the custom system category for interrogation-specific systems
◆ GetInterrogations()
Retrieve the current interrogations
◆ GetLinker()
Access the underlying linker used for interrogation.
◆ GetNumChannels()
| int32 UE::MovieScene::FSystemInterrogator::GetNumChannels |
( |
| ) |
const |
|
inline |
Retrieve the number of channels allocated
◆ GetSparseChannelInfo()
◆ ImportLocalTransforms()
Import any transform tracks that relate to the specified scene component, or it's AActor if it is the root
- Parameters
-
| SceneComponent | The scene component to import. A new channel will be allocated for this if one does not already exist. |
| InPlayer | The player interface to use for looking up object binding IDs pertaining to scene components or actors |
| SequenceID | The current sequence ID for the interrogation |
- Returns
- The channel that was either pre-existing or allocated for SceneComponent
◆ ImportTrack() [1/2]
Import a track into this linker. This will add the track to the linker's evaluation field and cause entities to be created for it at each interrogation channel (if it is relevant at such times) Must be called before InterrogateTime() and Update().
- Parameters
-
| Track | The track to import |
| ObjectBindingID | The binding ID for the object binding that this track resides within |
| InChannel | The channel to import this track onto. FInterrogationChannel::Default() can be used if this interrogator is only being used for a single output. |
| SequenceID | The SequenceID of the subsequence if importing one. |
◆ ImportTrack() [2/2]
Import a track into this linker. This will add the track to the linker's evaluation field and cause entities to be created for it at each interrogation channel (if it is relevant at such times) Must be called before InterrogateTime() and Update().
- Parameters
-
| Track | The track to import |
| InChannel | The channel to import this track onto. FInterrogationChannel::Default() can be used if this interrogator is only being used for a single output. |
| SequenceID | The SequenceID of the subsequence if importing one. |
◆ ImportTracks() [1/2]
Import multiple tracks into this linker. See ImporTrack above.
◆ ImportTracks() [2/2]
Import multiple tracks into this linker. See ImporTrack above.
◆ ImportTransformHierarchy()
Import the entire transform hierarchy for the specified component, including all attached parents and tracks relating to them.
- Parameters
-
| SceneComponent | The scene component to import. A new channel will be allocated for this if one does not already exist. |
| InPlayer | The player interface to use for looking up object binding IDs pertaining to scene components or actors |
| SequenceID | The current sequence ID for the interrogation |
- Returns
- The channel that was either pre-existing or allocated for SceneComponent
◆ QueryLocalSpaceTransforms() [1/4]
Query a specific set of channels for their local space transforms as defined by set bits within ChannelsToQuery
- Parameters
-
| ChannelsToQuery | Bit array containing set bits for each channel to query |
| OutTransformsByChannel | Sparse array to receive transforms allocated by their Channel index |
◆ QueryLocalSpaceTransforms() [2/4]
Query local space transforms
- Parameters
-
| InChannel | The channel to query |
| OutTransforms | Array to output transforms into, one per Interrogation |
◆ QueryLocalSpaceTransforms() [3/4]
Query all local space transforms, even including channels that do not have any variable track data
- Parameters
-
| OutTransformsByChannel | Sparse array to receive transforms allocated by their Channel index |
◆ QueryLocalSpaceTransforms() [4/4]
Query local space transforms
- Parameters
-
| SceneComponent | The scene component to query |
| OutTransforms | Array to output transforms into, one per Interrogation |
◆ QueryPropertyValues() [1/2]
Query the computed value of an animated property.
All the tracks imported on the given channel are expected to be animating a property of the type described by the InPropertyComponents parameter.
- Parameters
-
| InPropertyComponent | The type of property being animated on the given channel. |
| InChannel | The channel on which the property is being animated. |
| OutValues | The animated values, one for each interrogation time. |
◆ QueryPropertyValues() [2/2]
| void UE::MovieScene::FSystemInterrogator::QueryPropertyValues |
( |
const TPropertyComponents< PropertyTraits > & |
InPropertyComponents, |
|
|
TArray< typename PropertyTraits::StorageType > & |
OutValues |
|
) |
| const |
|
inline |
Query the computed value of an animated property.
See the other QueryPropertyValues method description.
- Parameters
-
| InPropertyComponent | The type of property being animated on the default channel. |
| OutValues | The animated values, one for each interrogation time. |
◆ QueryTransformOrigins()
Query the transform origin of a subsection based on the imported hiearchy
- Parameters
-
| OutTransformOrigins | The interrogated transforms for the currently focused sequence. |
| SubsequenceHierarchy | The currently focused sequence hierarchy |
| InstanceData | The object that contains the origin overrides for the world context object of the root sequence. |
◆ QueryWorldSpaceTransforms() [1/4]
Query a specific set of channels for their world space transforms as defined by set bits within ChannelsToQuery
- Parameters
-
| ChannelsToQuery | Bit array containing set bits for each channel to query |
| OutTransformsByChannel | Sparse array to receive transforms allocated by their Channel index |
◆ QueryWorldSpaceTransforms() [2/4]
Query world space transforms for a channel
- Parameters
-
| InChannel | The channel to query |
| OutTransforms | Array to output transforms into, one per Interrogation |
◆ QueryWorldSpaceTransforms() [3/4]
Query all world space transforms, even including channels that do not have any variable track data
- Parameters
-
| OutTransformsByChannel | Sparse array to receive transforms allocated by their Channel index |
◆ QueryWorldSpaceTransforms() [4/4]
| void UE::MovieScene::FSystemInterrogator::QueryWorldSpaceTransforms |
( |
USceneComponent * |
SceneComponent, |
|
|
TArray< FTransform > & |
OutTransforms |
|
) |
| const |
|
inline |
Query world space transforms for a component
- Parameters
-
| SceneComponent | The scene component to query |
| OutTransforms | Array to output transforms into, one per Interrogation |
◆ Reset()
| void UE::MovieScene::FSystemInterrogator::Reset |
( |
| ) |
|
Reset this linker back to its original state
◆ SetHierarchy()
◆ TrackImportedEntities()
| void UE::MovieScene::FSystemInterrogator::TrackImportedEntities |
( |
bool |
bInTrackImportedEntities | ) |
|
Indicate that consumers of this class require a reverse-lookup table for imported entities to be maintained such that the various FindEntity functions can be called. (Not enabled by default due to performance cost with high interrogation counts)
◆ Update()
| void UE::MovieScene::FSystemInterrogator::Update |
( |
| ) |
|
Flush this interrogator by running all the systems relevant to the current data and populating the interrogation outputs.
◆ Channels
◆ EntitiesScratch
Scratch buffer used for generating entities for interrogation times
◆ EntityComponentField
Entity component field containing all the entity owners relevant at specific times
◆ EntityTracker
Tracker class that is used for keeping track of imported entities
◆ ExtraMetaData
◆ Hierarchy
SubSection Hiearchy, for interrogating subsequence data e.g. subsequence transform origins
◆ InitialValueCache
◆ Linker
The documentation for this class was generated from the following files: