MovieSceneHelpers

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/MovieSceneCommonHelpers.h

Include

#include "MovieSceneCommonHelpers.h"

Syntax

class MovieSceneHelpers

Functions

Name Description

Public function Static

float

 

CalculateWeightForBlending

(
    UMovieSceneSection* SectionToK...,
    FFrameNumber Time
)

Get weight needed to modify the global difference in order to correctly key this section due to it possibly being blended by other sections.

Public function Static

UCameraCompo...

 

CameraComponentFromActor

(
    const AActor* InActor
)

Get the active camera component from the actor

Public function Static

UCameraCompo...

 

CameraComponentFromRuntimeObject

(
    UObject* RuntimeObject
)

Find and return camera component from the runtime object

Public function Static

UMovieSceneS...

 

FindNearestSectionAtTime

(
    const TArray< UMovieSceneSection&#...,
    FFrameNumber Time
)

Finds the nearest section to the given time

Public function Static

UMovieSceneS...

 

FindSectionAtTime

(
    const TArray< UMovieSceneSection&#...,
    FFrameNumber Time
)

Finds a section that exists at a given time

Public function Static

void

 

FixupConsecutiveBlendingSections

(
    TArray< UMovieSceneSection* > ...,
    UMovieSceneSection& Section,
    bool bDelete
)

Public function Static

void

 

FixupConsecutiveSections

(
    TArray< UMovieSceneSection* > ...,
    UMovieSceneSection& Section,
    bool bDelete
)

Fix up consecutive sections so that there are no gaps

Public function Static

void

 

GetDescendantMovieScenes

(
    UMovieSceneSequence* InSequenc...,
    TArray< UMovieScene* >& InMov...
)

Gather up descendant movie scenes from the incoming sequence

Public function Static

float

 

GetSoundDuration

(
    USoundBase* Sound
)

Get the duration for the given sound

Public function Static

USceneCompon...

 

SceneComponentFromRuntimeObject

(
    UObject* Object
)

Get the scene component from the runtime object

Public function Static

void

 

SetRuntimeObjectMobility

(
    UObject* Object,
    EComponentMobility::Type ComponentM...
)

Set the runtime object movable

Public function Static

void

 

SortConsecutiveSections

(
    TArray< UMovieSceneSection* > ...
)

Sort consecutive sections so that they are in order based on start time

Public function Static

bool

 

SortLowerBounds

(
    TRangeBound< FFrameNumber > A,
    TRangeBound< FFrameNumber > B
)

Sort predicate that sorts lower bounds of a range

Public function Static

bool

 

SortOverlappingSections

(
    const UMovieSceneSection* A,
    const UMovieSceneSection* B
)

Sort predicate that sorts overlapping sections by row primarily, then by overlap priority

Public function Static

bool

 

SortUpperBounds

(
    TRangeBound< FFrameNumber > A,
    TRangeBound< FFrameNumber > B
)

Sort predicate that sorts upper bounds of a range

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss