Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > Channels
Inheritance Hierarchy
- FMovieSceneChannel
- FMovieSceneFloatChannel
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/Channels/MovieSceneFloatChannel.h |
Include | #include "Channels/MovieSceneFloatChannel.h" |
Syntax
struct FMovieSceneFloatChannel : public FMovieSceneChannel
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TEnumAsByte< ERichCurveExtrapolation > | PostInfinityExtrap | Post-infinity extrapolation state |
![]() |
TEnumAsByte< ERichCurveExtrapolation > | PreInfinityExtrap | Pre-infinity extrapolation state |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | AddConstantKey
(
FFrameNumber InTime, |
|
![]() |
int32 | AddCubicKey
(
FFrameNumber InTime, |
|
![]() |
void | AddKeys
(
const TArray< FFrameNumber >& InTimes, |
Add keys with these times to channel. |
![]() |
int32 | AddLinearKey
(
FFrameNumber InTime, |
|
![]() |
void | AutoSetTangents
(
float Tension |
|
![]() ![]() |
bool | Evaluate
(
FFrameTime InTime, |
Evaluate this channel with the frame resolution |
![]() |
TMovieSceneChannelData< FMovieSceneFloatValue > | GetData () |
Access a mutable interface for this channel's data |
![]() ![]() |
TMovieSceneChannelData< const FMovieSceneFloatValue > | GetData () |
Access a constant interface for this channel's data |
![]() ![]() |
TOptional< float > | GetDefault () |
Get this channel's default value that will be used when no keys are present |
![]() ![]() |
UE::MovieScene::Interpolation::FCachedInterpolation | GetInterpolationForTime
(
FFrameTime InTime |
Retrieve a cached interpolation from this channel for the specified time |
![]() ![]() |
bool | GetShowCurve () |
Get whether to show this curve in the UI |
![]() ![]() |
FFrameRate | Get the channel's frame resolution | |
![]() ![]() |
TArrayView< const FFrameNumber > | GetTimes () |
Const access to this channel's times |
![]() ![]() |
TArrayView< const FMovieSceneFloatValue > | GetValues () |
Const access to this channel's values |
![]() ![]() |
bool | HasAnyData () |
Check whether this channel has any data |
![]() ![]() |
void | PopulateCurvePoints
(
double StartTimeSeconds, |
Populate the specified array with times and values that represent the smooth interpolation of this channel across the specified range |
![]() |
void | PostSerialize
(
const FArchive& Ar |
|
![]() |
void | Remove this channel's default value causing the channel to have no effect where no keys are present | |
![]() |
bool | ||
![]() |
bool | SerializeFromMismatchedTag
(
const FPropertyTag& Tag, |
Serialize this float function from a mismatching property tag (FRichCurve) |
![]() |
void | Set
(
TArray< FFrameNumber > InTimes, |
Set the channel's times and values to the requested values |
![]() |
void | SetDefault
(
float InDefaultValue |
Set this channel's default value that should be used when no keys are present |
![]() |
void | SetKeysOnly
(
TArrayView< FFrameNumber > InTimes, |
Set the channel's times and values to the requested values, but does not allocate key handles |
![]() |
void | SetShowCurve
(
bool bInShowCurve |
Set whether to show this curve in the UI |
![]() |
void | SetTickResolution
(
FFrameRate InTickSolution |
Set the channel's frame resolution |
Overridden from FMovieSceneChannel
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ChangeFrameResolution
(
FFrameRate SourceRate, |
Called when the frame resolution of this channel is to be changed. |
![]() ![]() |
void | ClearDefault () |
Clear all the default value on this channel |
![]() ![]() ![]() |
TRange< FFrameNumber > | Compute the effective range of this channel, for example, the extents of its key times | |
![]() ![]() |
void | DeleteKeys
(
TArrayView< const FKeyHandle > InHandles |
Delete the keys for the specified key handles |
![]() ![]() |
void | DeleteKeysFrom
(
FFrameNumber InTime, |
Delete keys before or after a specified time |
![]() ![]() |
void | DuplicateKeys
(
TArrayView< const FKeyHandle > InHandles, |
Duplicate the keys for the specified key handles |
![]() ![]() |
void | GetKeys
(
const TRange< FFrameNumber >& WithinRange, |
Get key information pertaining to all keys that exist within the specified range |
![]() ![]() |
void | GetKeyTimes
(
TArrayView< const FKeyHandle > InHandles, |
Get all key times for the specified key handles |
![]() ![]() ![]() |
int32 | GetNumKeys () |
Get the total number of keys on this channel |
![]() ![]() |
void | Offset
(
FFrameNumber DeltaPosition |
Offset the keys within this channel by a given delta position |
![]() ![]() |
void | Optimize
(
const FKeyDataOptimizationParams& InParameters |
Optimize this channel by removing any redundant data according to the specified parameters |
![]() ![]() |
void | Perfor a possibly heavy operation after an edit change | |
![]() ![]() |
void | Reset () |
Reset this channel back to its original state |
![]() ![]() |
void | SetKeyTimes
(
TArrayView< const FKeyHandle > InHandles, |
Set key times for the specified key handles |
Typedefs
Name | Description |
---|---|
ChannelValueType | |
CurveValueType | |
FMovieSceneFloatChannelImpl |