UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MovieSceneFloatChannel.cpp File Reference

Classes

struct  UE::MovieScene::Interpolation::FFloatChannelPiecewiseData
 

Namespaces

namespace  UE
 
namespace  UE::MovieScene
 
namespace  UE::MovieScene::Interpolation
 

Functions

void UE::MovieScene::OnRemapChannelKeyTime (const FMovieSceneChannel *Channel, const IRetimingInterface &Retimer, FFrameNumber PreviousTime, FFrameNumber CurrentTime, FMovieSceneFloatValue &InOutValue)
 
EMovieSceneKeyInterpolation GetInterpolationMode (FMovieSceneFloatChannel *InChannel, const FFrameNumber &InTime, EMovieSceneKeyInterpolation DefaultInterpolationMode)
 
FKeyHandle AddKeyToChannel (FMovieSceneFloatChannel *Channel, FFrameNumber InFrameNumber, float InValue, EMovieSceneKeyInterpolation Interpolation)
 
void Dilate (FMovieSceneFloatChannel *InChannel, FFrameNumber Origin, float DilationFactor)
 
bool ValueExistsAtTime (const FMovieSceneFloatChannel *InChannel, FFrameNumber InFrameNumber, float InValue)
 
bool ValueExistsAtTime (const FMovieSceneFloatChannel *InChannel, FFrameNumber InFrameNumber, const FMovieSceneFloatValue &InValue)
 
void AssignValue (FMovieSceneFloatChannel *InChannel, FKeyHandle InKeyHandle, float InValue)
 
void InvertValue (float &InOutValue)
 
void ReciprocalValue (float &InOutValue)
 
void TransformValue (float &InOutValue, const FMovieSceneChannelTraitsTransform< float > &Transform)
 

Function Documentation

◆ AddKeyToChannel()

FKeyHandle AddKeyToChannel ( FMovieSceneFloatChannel Channel,
FFrameNumber  InFrameNumber,
float  InValue,
EMovieSceneKeyInterpolation  Interpolation 
)

Overload for adding a new key to a float channel at a given time. See UE::MovieScene::AddKeyToChannel for default implementation.

◆ AssignValue()

void AssignValue ( FMovieSceneFloatChannel InChannel,
FKeyHandle  InKeyHandle,
float  InValue 
)

◆ Dilate()

void Dilate ( FMovieSceneFloatChannel InChannel,
FFrameNumber  Origin,
float  DilationFactor 
)

Overload for dilating float channel data. See UE::MovieScene::Dilate for default implementation.

◆ GetInterpolationMode()

EMovieSceneKeyInterpolation GetInterpolationMode ( FMovieSceneFloatChannel InChannel,
const FFrameNumber InTime,
EMovieSceneKeyInterpolation  DefaultInterpolationMode 
)

Overload for getting the interpolation mode for a channel at a specified time, it could be the previous key's mode.See UE::MovieScene::GetInterpolationMode for default implementation.

◆ InvertValue()

void InvertValue ( float InOutValue)

◆ ReciprocalValue()

void ReciprocalValue ( float InOutValue)

◆ TransformValue()

void TransformValue ( float InOutValue,
const FMovieSceneChannelTraitsTransform< float > &  Transform 
)

◆ ValueExistsAtTime() [1/2]

bool ValueExistsAtTime ( const FMovieSceneFloatChannel InChannel,
FFrameNumber  InFrameNumber,
const FMovieSceneFloatValue InValue 
)

◆ ValueExistsAtTime() [2/2]

bool ValueExistsAtTime ( const FMovieSceneFloatChannel InChannel,
FFrameNumber  InFrameNumber,
float  InValue 
)

Overloads for common utility functions.