Navigation
API > API/Runtime > API/Runtime/MovieScene
References
| Module | MovieScene |
| Header | /Engine/Source/Runtime/MovieScene/Public/MovieSceneCommonHelpers.h |
| Include | #include "MovieSceneCommonHelpers.h" |
Syntax
class MovieSceneHelpers
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | CalculateWeightForBlending
(
UMovieSceneSection* SectionToKey, |
Get weight needed to modify the global difference in order to correctly key this section due to it possibly being blended by other sections. | |
| UCameraComponent * | CameraComponentFromActor
(
const AActor* InActor |
Get the active camera component from the actor | |
| UCameraComponent * | CameraComponentFromRuntimeObject
(
UObject* RuntimeObject |
Find and return camera component from the runtime object | |
| UMovieSceneSection * | FindNearestSectionAtTime
(
TArrayView< UMovieSceneSection*const > Sections, |
Finds the nearest section to the given time | |
| UMovieSceneSection * | FindNextSection
(
TArrayView< UMovieSceneSection*const > Sections, |
Find the next section that doesn't overlap - the section that has the next closest start time to the requested start time | |
| UMovieSceneSection * | FindPreviousSection
(
TArrayView< UMovieSceneSection*const > Sections, |
Find the previous section that doesn't overlap - the section that has the previous closest start time to the requested start time | |
| UMovieSceneSection * | FindSectionAtTime
(
TArrayView< UMovieSceneSection*const > Sections, |
Finds a section that exists at a given time | |
| bool | FixupConsecutiveBlendingSections
(
TArray< UMovieSceneSection* >& Sections, |
Fix up consecutive sections so that there are no gaps, but there can be overlaps, in which case the sections blend together. | |
| bool | FixupConsecutiveSections
(
TArray< UMovieSceneSection* >& Sections, |
Fix up consecutive sections so that there are no gaps | |
| void | GetDescendantMovieScenes
(
UMovieSceneSequence* InSequence, |
Gather up descendant movie scenes from the incoming sequence | |
| void | GetDescendantSubSections
(
const UMovieScene* InMovieScene, |
Gather up descendant movie scene sub-sections from the incoming movie scene | |
| float | GetSoundDuration
(
USoundBase* Sound |
Get the duration for the given sound | |
| bool | IsSectionKeyable
(
const UMovieSceneSection* |
||
| UObject * | MakeSpawnableTemplateFromInstance
(
UObject& InSourceObject, |
Return a copy of the source object, suitable for use as a spawnable template. | |
| FString | MakeUniqueSpawnableName
(
UMovieScene* InMovieScene, |
Return a name unique to the spawnable names in the given movie scene | |
| USceneComponent * | SceneComponentFromRuntimeObject
(
UObject* Object |
Get the scene component from the runtime object | |
| void | SetRuntimeObjectMobility
(
UObject* Object, |
Set the runtime object movable | |
| void | SortConsecutiveSections
(
TArray< UMovieSceneSection* >& Sections |
Sort consecutive sections so that they are in order based on start time | |
| bool | SortLowerBounds
(
TRangeBound< FFrameNumber > A, |
Sort predicate that sorts lower bounds of a range | |
| bool | SortOverlappingSections
(
const UMovieSceneSection* A, |
Sort predicate that sorts overlapping sections by row primarily, then by overlap priority | |
| bool | SortUpperBounds
(
TRangeBound< FFrameNumber > A, |
Sort predicate that sorts upper bounds of a range |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMovieSceneScopedPackageDirtyGuard | Helper struct to cache the package dirty state and then to restore it after this leaves scope. |