IMovieSceneMotionVectorSimulation

Crude helper class for applying simulated transforms for all animated objects of a sequence on camera cut frames from sequencer Simulated transforms are passed onto the renderer at the end of a sequence's evaluation and will be used for motion vector computation

Windows
MacOS
Linux

References

Module

MovieScene

Header

/Engine/Source/Runtime/MovieScene/Public/Evaluation/IMovieSceneMotionVectorSimulation.h

Include

#include "Evaluation/IMovieSceneMotionVectorSimulation.h"

Syntax

struct IMovieSceneMotionVectorSimulation

Remarks

Crude helper class for applying simulated transforms for all animated objects of a sequence on camera cut frames from sequencer Simulated transforms are passed onto the renderer at the end of a sequence's evaluation and will be used for motion vector computation

Destructors

Functions

Name Description

Public function

void

 

Add

(
    USceneComponent* Component,
    const FTransform& SimulatedTransfo...,
    FName SocketName
)

Add a new simulated transform for the specified component (and optionally a socket on that component).

Public function

void

 

Apply

(
    IMovieScenePlayer& Player
)

Apply all the simulated transforms from this frame using the specified player, passing them onto the renderer for this frame

Public function Static

void

 

EnableThisFrame

(
    FPersistentEvaluationData& Persist...
)

Enable simulated motion vectors for the current frame

Public function Static

FFrameTime

 

GetSimulationTime

(
    const FMovieSceneContext& Context
)

Computes a time at which to simulate motion vectors for the current frame.

Public function Static

bool

 

IsEnabled

(
    const FPersistentEvaluationData& P...,
    const FMovieSceneContext& Context
)

Check whether we should simulate motion vectors for the current evaluation.

Public function

void

 

PreserveSimulatedMotion

(
    bool bShouldPreserveTransforms
)

Indicate that all the currently stored simulated transforms should be preserved or reset once evaluated this frame

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