UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMovieSceneTrackSegmentBlender Struct Reference

#include <MovieSceneSegmentCompiler.h>

+ Inheritance diagram for FMovieSceneTrackSegmentBlender:

Public Member Functions

 FMovieSceneTrackSegmentBlender ()
 
virtual ~FMovieSceneTrackSegmentBlender ()
 
bool AllowEmptySegments () const
 
bool CanFillEmptySpace () const
 
virtual TOptional< FMovieSceneSegmentInsertEmptySpace (const TRange< FFrameNumber > &Range, const FMovieSceneSegment *PreviousSegment, const FMovieSceneSegment *NextSegment) const
 
virtual void Blend (FSegmentBlendData &BlendData) const
 

Protected Attributes

bool bAllowEmptySegments
 
bool bCanFillEmptySpace
 

Detailed Description

Structure that defines how to combine and sort sections in the same track row after processing on a per-row basis.

Constructor & Destructor Documentation

◆ FMovieSceneTrackSegmentBlender()

FMovieSceneTrackSegmentBlender::FMovieSceneTrackSegmentBlender ( )
inline

Default constructor

◆ ~FMovieSceneTrackSegmentBlender()

virtual FMovieSceneTrackSegmentBlender::~FMovieSceneTrackSegmentBlender ( )
inlinevirtual

Member Function Documentation

◆ AllowEmptySegments()

bool FMovieSceneTrackSegmentBlender::AllowEmptySegments ( ) const
inline

Check whether the resulting segments be empty. When true, Empty segments will be allowed to be added to the resulting evaluation field.

Note
: use when evaluation of a track should always be performed, even if there are no sections at the current time

◆ Blend()

virtual void FMovieSceneTrackSegmentBlender::Blend ( FSegmentBlendData BlendData) const
inlinevirtual

Blend the specified data by performing some specific processing such as sorting or filtering

Parameters
BlendDataBlend data to be modified to suit the implementation's will

Reimplemented in FMovieSceneAdditiveCameraTrackBlender.

◆ CanFillEmptySpace()

bool FMovieSceneTrackSegmentBlender::CanFillEmptySpace ( ) const
inline

Check whether these rules can fill empty space between segments (such as to evaluate the nearest section)

Note
: use in combination with AllowEmptySegments when evaluation of a track should always be performed, even if there are no sections at the current time

◆ InsertEmptySpace()

virtual TOptional< FMovieSceneSegment > FMovieSceneTrackSegmentBlender::InsertEmptySpace ( const TRange< FFrameNumber > &  Range,
const FMovieSceneSegment PreviousSegment,
const FMovieSceneSegment NextSegment 
) const
inlinevirtual

Implementation function to insert empty space between two other segments or at the start/end

Parameters
RangeThe time range for the potential new segment
PreviousSegmentA pointer to the previous segment if there is one. Null if the empty space is before the first segment.
NextA pointer to the subsequent segment if there is one. Null if the empty space is after the last segment.
Returns
An optional new segment to define

Reimplemented in FEvaluateNearestSegmentBlender.

Member Data Documentation

◆ bAllowEmptySegments

bool FMovieSceneTrackSegmentBlender::bAllowEmptySegments
protected

Whether we allow empty segments to be evaluated or not

◆ bCanFillEmptySpace

bool FMovieSceneTrackSegmentBlender::bCanFillEmptySpace
protected

Whether we can fill empty space (false signifies InsertEmptySpace will never be called)


The documentation for this struct was generated from the following file: