FMovieSceneFrameRange

Type used to convert from a [FFloatRange](API\Runtime\Core\Math\FFloatRange) to a [TRange](API\Runtime\Core\Math\TRange)

Windows
MacOS
Linux

References

Module

MovieScene

Header

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

Include

#include "MovieSceneFrameMigration.h"

Syntax

struct FMovieSceneFrameRange

Remarks

Type used to convert from a FFloatRange to a TRange<FFrameNumber>

Variables

Name Description

Public variable

FFloatRange

 

MigrationDefault

Default value to use during serialization to ensure that values previously serialized with deltas get upgraded correctly

Public variable

TRange< FFrameN...

 

Value

The actual frame number range, custom serialized

Constructors

Name Description

Public function

FMovieSceneFrameRange()

Default construction to an empty frame range

Public function

FMovieSceneFrameRange

(
    const TRange< FFrameNumber >& InVa...
)

Construction from a frame range

Functions

Name Description

Public function Const

bool

 

ExportTextItem

(
    FString& ValueStr,
    FMovieSceneFrameRange const& Defau...,
    UObject* Parent,
    int32 PortFlags,
    UObject* ExportRootScope
)

Needed for copy and pasting of tracks since that mechanism uses string export and import.

Public function Static

TRange< FFra...

 

FromFloatRange

(
    const TRange< float >& InFloatRang...
)

Convert this frame number from a float range

Public function Const

TRangeBound<...

 

GetLowerBound()

Get this range's lower bound

Public function Const

TRangeBound<...

 

GetUpperBound()

Get this range's upper bound

Public function

bool

 

ImportTextItem

(
    const TCHAR*& Buffer,
    int32 PortFlags,
    UObject* Parent,
    FOutputDevice* ErrorText
)

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Custom serializer for the frame number range

Public function

bool

 

SerializeFromMismatchedTag

(
    FPropertyTag const& Tag,
    FStructuredArchive::FSlot Slot
)

Serialize this frame range from a mismatched type (only FFloatRange supported)

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