#include <MovieSceneByteChannel.h>
|
| | FMovieSceneByteChannel () |
| |
| MOVIESCENE_API bool | SerializeFromMismatchedTag (const FPropertyTag &Tag, FStructuredArchive::FSlot Slot) |
| |
| TMovieSceneChannelData< uint8 > | GetData () |
| |
| TMovieSceneChannelData< const uint8 > | GetData () const |
| |
| TArrayView< const FFrameNumber > | GetTimes () const |
| |
| TArrayView< const uint8 > | GetValues () const |
| |
| bool | HasAnyData () const |
| |
| MOVIESCENE_API bool | Evaluate (FFrameTime InTime, uint8 &OutValue) const |
| |
| void | AddKeys (const TArray< FFrameNumber > &InTimes, const TArray< uint8 > &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 |
| |
| void | SetDefault (uint8 InDefaultValue) |
| |
| TOptional< uint8 > | GetDefault () const |
| |
| void | RemoveDefault () |
| |
| UEnum * | GetEnum () const |
| |
| void | SetEnum (UEnum *InEnum) |
| |
| | 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) |
| |
| virtual void | PostEditChange () |
| |
| virtual FKeyHandle | GetHandle (int32 Index) |
| |
| virtual int32 | GetIndex (FKeyHandle Handle) |
| |
| FMovieSceneChannelDataKeyAddedEvent & | OnKeyAddedEvent () |
| |
| FMovieSceneChannelDataKeyDeletedEvent & | OnKeyDeletedEvent () |
| |
| FMovieSceneChannelDataKeyMovedEvent & | OnKeyMovedEvent () |
| |
◆ CurveValueType
◆ FMovieSceneByteChannel()
| FMovieSceneByteChannel::FMovieSceneByteChannel |
( |
| ) |
|
|
inline |
◆ AddKeys()
Add keys with these times to channel. The number of elements in both arrays much match or nothing is added.
- Parameters
-
| InTimes | Times to add |
| InValues | Values to add |
◆ ClearDefault()
| void FMovieSceneByteChannel::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.
◆ 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
- Parameters
-
| InTime | 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
◆ GetEnum()
| UEnum * FMovieSceneByteChannel::GetEnum |
( |
| ) |
const |
|
inline |
◆ 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 FMovieSceneByteChannel::GetNumKeys |
( |
| ) |
const |
|
overridevirtual |
Get the total number of keys on this channel
- Returns
- The number of keys on this channel
Reimplemented from FMovieSceneChannel.
◆ GetTimes()
Const access to this channel's times
◆ GetValues()
Const access to this channel's values
◆ HasAnyData()
| bool FMovieSceneByteChannel::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.
◆ RemapTimes()
Remap the times contained within this channel using a custom remapper
Reimplemented from FMovieSceneChannel.
◆ RemoveDefault()
| void FMovieSceneByteChannel::RemoveDefault |
( |
| ) |
|
|
inline |
Remove this channel's default value causing the channel to have no effect where no keys are present
◆ Reset()
| void FMovieSceneByteChannel::Reset |
( |
| ) |
|
|
overridevirtual |
◆ SerializeFromMismatchedTag()
Serialize this type from another
◆ SetDefault()
| void FMovieSceneByteChannel::SetDefault |
( |
uint8 |
InDefaultValue | ) |
|
|
inline |
Set this channel's default value that should be used when no keys are present
- Parameters
-
| InDefaultValue | The desired default value |
◆ SetEnum()
| void FMovieSceneByteChannel::SetEnum |
( |
UEnum * |
InEnum | ) |
|
|
inline |
◆ 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.
◆ PostInfinityExtrap
Post-infinity extrapolation state, byte channel only supports constant, cycle and oscillate
◆ PreInfinityExtrap
Pre-infinity extrapolation state, byte channel only supports constant, cycle and oscillate
The documentation for this struct was generated from the following files: