#include <MovieSceneFloatChannel.h>
|
| MOVIESCENE_API | FMovieSceneFloatChannel () |
| |
| virtual MOVIESCENE_API | ~FMovieSceneFloatChannel () |
| |
| MOVIESCENE_API UE::MovieScene::Interpolation::FInterpolationExtents | ComputeExtents (FFrameTime StartTime, FFrameTime EndTime) const |
| |
| MOVIESCENE_API UE::MovieScene::FPiecewiseCurve | AsPiecewiseCurve (bool bWithPreAndPostInfinityExtrap=true) const |
| |
| TMovieSceneChannelData< FMovieSceneFloatValue > | GetData () |
| |
| TMovieSceneChannelData< const FMovieSceneFloatValue > | GetData () const |
| |
| TArrayView< const FFrameNumber > | GetTimes () const |
| |
| TArrayView< const FMovieSceneFloatValue > | GetValues () const |
| |
| MOVIESCENE_API bool | Evaluate (FFrameTime InTime, float &OutValue) const |
| |
| MOVIESCENE_API UE::MovieScene::Interpolation::FCachedInterpolation | GetInterpolationForTime (FFrameTime InTime) const |
| |
| MOVIESCENE_API void | Set (TArray< FFrameNumber > InTimes, TArray< FMovieSceneFloatValue > InValues) |
| |
| MOVIESCENE_API void | SetKeysOnly (TArrayView< FFrameNumber > InTimes, TArrayView< FMovieSceneFloatValue > InValues) |
| |
| virtual MOVIESCENE_API void | GetKeys (const TRange< FFrameNumber > &WithinRange, TArray< FFrameNumber > *OutKeyTimes, TArray< FKeyHandle > *OutKeyHandles) override |
| |
| virtual MOVIESCENE_API void | GetKeyTimes (TArrayView< const FKeyHandle > InHandles, TArrayView< FFrameNumber > OutKeyTimes) override |
| |
| virtual MOVIESCENE_API void | SetKeyTimes (TArrayView< const FKeyHandle > InHandles, TArrayView< const FFrameNumber > InKeyTimes) override |
| |
| virtual MOVIESCENE_API void | DuplicateKeys (TArrayView< const FKeyHandle > InHandles, TArrayView< FKeyHandle > OutNewHandles) override |
| |
| virtual MOVIESCENE_API void | DeleteKeys (TArrayView< const FKeyHandle > InHandles) override |
| |
| virtual MOVIESCENE_API void | DeleteKeysFrom (FFrameNumber InTime, bool bDeleteKeysBefore) override |
| |
| virtual MOVIESCENE_API void | RemapTimes (const UE::MovieScene::IRetimingInterface &Retimer) override |
| |
| virtual MOVIESCENE_API TRange< FFrameNumber > | ComputeEffectiveRange () const override |
| |
| virtual MOVIESCENE_API int32 | GetNumKeys () const override |
| |
| virtual MOVIESCENE_API void | Reset () override |
| |
| virtual MOVIESCENE_API void | Offset (FFrameNumber DeltaPosition) override |
| |
| virtual MOVIESCENE_API void | Optimize (const FKeyDataOptimizationParams &InParameters) override |
| |
| virtual MOVIESCENE_API void | ClearDefault () override |
| |
| virtual MOVIESCENE_API void | PostEditChange () override |
| |
| virtual MOVIESCENE_API FKeyHandle | GetHandle (int32 Index) override |
| |
| virtual MOVIESCENE_API int32 | GetIndex (FKeyHandle Handle) override |
| |
| bool | HasAnyData () const |
| |
| void | SetDefault (float InDefaultValue) |
| |
| TOptional< float > | GetDefault () const |
| |
| void | RemoveDefault () |
| |
| MOVIESCENE_API bool | Serialize (FArchive &Ar) |
| |
| MOVIESCENE_API bool | SerializeFromMismatchedTag (const FPropertyTag &Tag, FStructuredArchive::FSlot Slot) |
| |
| MOVIESCENE_API int32 | AddConstantKey (FFrameNumber InTime, float InValue) |
| |
| MOVIESCENE_API int32 | AddLinearKey (FFrameNumber InTime, float InValue) |
| |
| MOVIESCENE_API int32 | AddCubicKey (FFrameNumber InTime, float InValue, ERichCurveTangentMode TangentMode=RCTM_Auto, const FMovieSceneTangentData &Tangent=FMovieSceneTangentData()) |
| |
| MOVIESCENE_API void | AutoSetTangents (float Tension=0.f) |
| |
| FFrameRate | GetTickResolution () const |
| |
| void | SetTickResolution (FFrameRate InTickSolution) |
| |
| MOVIESCENE_API void | PopulateCurvePoints (double StartTimeSeconds, double EndTimeSeconds, double TimeThreshold, float ValueThreshold, FFrameRate TickResolution, TArray< TTuple< double, double > > &InOutPoints) const |
| |
| MOVIESCENE_API void | AddKeys (const TArray< FFrameNumber > &InTimes, const TArray< FMovieSceneFloatValue > &InValues) |
| |
| MOVIESCENE_API void | UpdateOrAddKeys (const TArrayView< const FFrameNumber > InTimes, const TArrayView< FMovieSceneFloatValue > InValues) |
| |
| | FMovieSceneChannel () |
| |
| virtual | ~FMovieSceneChannel () |
| |
| MOVIESCENE_API void | GetKeyTime (const FKeyHandle InHandle, FFrameNumber &OutKeyTime) |
| |
| MOVIESCENE_API void | SetKeyTime (const FKeyHandle InHandle, const FFrameNumber InKeyTime) |
| |
| virtual MOVIESCENE_API void | ChangeFrameResolution (FFrameRate SourceRate, FFrameRate DestinationRate) |
| |
| FMovieSceneChannelDataKeyAddedEvent & | OnKeyAddedEvent () |
| |
| FMovieSceneChannelDataKeyDeletedEvent & | OnKeyDeletedEvent () |
| |
| FMovieSceneChannelDataKeyMovedEvent & | OnKeyMovedEvent () |
| |
◆ ChannelValueType
◆ CurveValueType
◆ FMovieSceneFloatChannel()
| FMovieSceneFloatChannel::FMovieSceneFloatChannel |
( |
| ) |
|
◆ ~FMovieSceneFloatChannel()
| FMovieSceneFloatChannel::~FMovieSceneFloatChannel |
( |
| ) |
|
|
virtualdefault |
◆ AddConstantKey()
◆ AddCubicKey()
◆ AddKeys()
Add keys with these times to channel. The number of elements in both arrays much match or nothing is added. Also assume that the times are greater than last time in the channel and are increasing. If not bad things can happen.
- Parameters
-
| InTimes | Times to add |
| InValues | Values to add |
◆ AddLinearKey()
◆ AsPiecewiseCurve()
◆ AutoSetTangents()
| void FMovieSceneFloatChannel::AutoSetTangents |
( |
float |
Tension = 0.f | ) |
|
◆ ClearDefault()
| void FMovieSceneFloatChannel::ClearDefault |
( |
| ) |
|
|
overridevirtual |
◆ ComputeEffectiveRange()
Compute the effective range of this channel, for example, the extents of its key times
- Returns
- A range that represents the greatest range of times occupied by this channel, in the sequence's frame resolution
Reimplemented from FMovieSceneChannel.
◆ ComputeExtents()
Compute the value extents of this curve within the specified limits
- Parameters
-
| StartTime | The start of the range within which to compute extents |
| EndTime | The end of the range within which to compute extents |
- Returns
- The extents of this channel
◆ DeleteKeys()
Delete the keys for the specified key handles
- Parameters
-
| InHandles | Array of handles to delete |
Reimplemented from FMovieSceneChannel.
◆ DeleteKeysFrom()
Delete keys before or after a specified time
- Parameters
-
| InTime | Delete keys after this time |
| bDeleteKeysBefore | Whether to delete keys before the specified time |
Reimplemented from FMovieSceneChannel.
◆ DuplicateKeys()
Duplicate the keys for the specified key handles
- Parameters
-
| InHandles | Array of handles to duplicate |
| OutKeyTimes | Pre-sized array to receive duplicated key handles. Invalid key handles will not be assigned to this array. Must match size of InHandles |
Reimplemented from FMovieSceneChannel.
◆ Evaluate()
Evaluate this channel with the frame resolution
- Parameters
-
| InTime | The time to evaluate at |
| InTime | The Frame Rate the time to evaluate at |
| OutValue | A value to receive the result |
- Returns
- true if the channel was evaluated successfully, false otherwise
◆ GetData() [1/2]
Access a mutable interface for this channel's data
- Returns
- An object that is able to manipulate this channel's data
◆ GetData() [2/2]
Access a constant interface for this channel's data
- Returns
- An object that is able to interrogate this channel's data
◆ GetDefault()
Get this channel's default value that will be used when no keys are present
- Returns
- (Optional) The channel's default value
◆ GetHandle()
Retrieve a key handle for the specified key time index
- Parameters
-
| Index | The index to retrieve |
- Returns
- A key handle that identifies the key at the specified index, regardless of re-ordering
Reimplemented from FMovieSceneChannel.
◆ GetIndex()
Attempt to retrieve the index of key from its handle
- Parameters
-
| Handle | The handle to retrieve |
- Returns
- The index of the key, or INDEX_NONE
Reimplemented from FMovieSceneChannel.
◆ GetInterpolationForTime()
Retrieve a cached interpolation from this channel for the specified time
◆ GetKeys()
Get key information pertaining to all keys that exist within the specified range
- Parameters
-
| WithinRange | The range within which to return key information |
| OutKeyTimes | (Optional) Array to receive key times |
| OutKeyHandles | (Optional) Array to receive key handles |
Reimplemented from FMovieSceneChannel.
◆ GetKeyTimes()
Get all key times for the specified key handles
- Parameters
-
| InHandles | Array of handles to get times for |
| OutKeyTimes | Pre-sized array of key times to set. Invalid key handles will not assign to this array. Must match size of InHandles |
Reimplemented from FMovieSceneChannel.
◆ GetNumKeys()
| int32 FMovieSceneFloatChannel::GetNumKeys |
( |
| ) |
const |
|
overridevirtual |
Get the total number of keys on this channel
- Returns
- The number of keys on this channel
Reimplemented from FMovieSceneChannel.
◆ GetTickResolution()
| FFrameRate FMovieSceneFloatChannel::GetTickResolution |
( |
| ) |
const |
|
inline |
Get the channel's frame resolution
◆ GetTimes()
Const access to this channel's times
◆ GetValues()
Const access to this channel's values
◆ HasAnyData()
| bool FMovieSceneFloatChannel::HasAnyData |
( |
| ) |
const |
|
inline |
Check whether this channel has any data
◆ Offset()
Offset the keys within this channel by a given delta position
- Parameters
-
| DeltaPosition | The number of frames to offset by, in the sequence's frame resolution |
Reimplemented from FMovieSceneChannel.
◆ Optimize()
Optimize this channel by removing any redundant data according to the specified parameters
- Parameters
-
| InParameters | Parameter struct specifying how to optimize the channel |
Reimplemented from FMovieSceneChannel.
◆ PopulateCurvePoints()
Populate the specified array with times and values that represent the smooth interpolation of this channel across the specified range
- Parameters
-
| StartTimeSeconds | The first time in seconds to include in the resulting array |
| EndTimeSeconds | The last time in seconds to include in the resulting array |
| TimeThreshold | A small time threshold in seconds below which we should stop adding new points |
| ValueThreshold | A small value threshold below which we should stop adding new points where the linear interpolation would suffice |
| TickResolution | The tick resolution with which to interpret this channel's times |
| InOutPoints | An array to populate with the evaluated points |
◆ PostEditChange()
| void FMovieSceneFloatChannel::PostEditChange |
( |
| ) |
|
|
overridevirtual |
Perform a possibly heavy operation after an edit change
Reimplemented from FMovieSceneChannel.
◆ RemapTimes()
Remap the times contained within this channel using a custom remapper
Reimplemented from FMovieSceneChannel.
◆ RemoveDefault()
| void FMovieSceneFloatChannel::RemoveDefault |
( |
| ) |
|
|
inline |
Remove this channel's default value causing the channel to have no effect where no keys are present
◆ Reset()
| void FMovieSceneFloatChannel::Reset |
( |
| ) |
|
|
overridevirtual |
◆ Serialize()
◆ SerializeFromMismatchedTag()
Serialize this float function from a mismatching property tag (FRichCurve)
◆ Set()
Set the channel's times and values to the requested values
◆ SetDefault()
| void FMovieSceneFloatChannel::SetDefault |
( |
float |
InDefaultValue | ) |
|
|
inline |
Set this channel's default value that should be used when no keys are present
- Parameters
-
| InDefaultValue | The desired default value |
◆ SetKeysOnly()
Set the channel's times and values to the requested values, but does not allocate key handles
◆ SetKeyTimes()
Set key times for the specified key handles
- Parameters
-
| InHandles | Array of handles to get times for |
| InKeyTimes | Array of times to apply - one per handle |
Reimplemented from FMovieSceneChannel.
◆ SetTickResolution()
| void FMovieSceneFloatChannel::SetTickResolution |
( |
FFrameRate |
InTickSolution | ) |
|
|
inline |
Set the channel's frame resolution
◆ UpdateOrAddKeys()
◆ operator<<
◆ TMovieSceneCurveChannelImpl< FMovieSceneFloatChannel >
◆ PostInfinityExtrap
Post-infinity extrapolation state
◆ PreInfinityExtrap
Pre-infinity extrapolation state
The documentation for this struct was generated from the following files: