Navigation
Unreal Engine C++ API Reference > Runtime > MovieScene > Channels
Inheritance Hierarchy
- FMovieSceneChannelData
- TMovieSceneChannelData
References
Module | MovieScene |
Header | /Engine/Source/Runtime/MovieScene/Public/Channels/MovieSceneChannelData.h |
Include | #include "Channels/MovieSceneChannelData.h" |
Syntax
template<typename ValueType>
struct TMovieSceneChannelData : public FMovieSceneChannelData
Remarks
Templated channel data utility class that provides a consistent interface for interacting with a channel's keys and values. Assumes that the supplied time and value arrays are already sorted ascendingly by time and are the same size. This class will maintain those invariants throughout its lifetime.
Specializations
TMovieSceneChannelData< const ValueType >
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TMovieSceneChannelData
(
TArray< FFrameNumber >* InTimes, |
Constructor that takes a non-owning pointer to an array of times and values, and a key handle map | |
![]() |
TMovieSceneChannelData
(
TArray< FFrameNumber >* InTimes, |
Constructor that takes a non-owning pointer to an array of times and values, and a key handle map |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | Add a new key at a given time | |
![]() |
void | DeleteKeys
(
TArrayView< const FKeyHandle > InHandles |
Delete a number of keys from this channel data |
![]() |
void | DeleteKeysFrom
(
FFrameNumber InTime, |
Delete keys before or after a specified time |
![]() |
void | DuplicateKeys
(
TArrayView< const FKeyHandle > InHandles, |
Duplicate a number of keys within this channel data |
![]() ![]() |
TArrayView< const ValueType > | GetValues () |
Read-only access to this channel's values |
![]() |
TArrayView< ValueType > | GetValues () |
Mutable access to this channel's values |
![]() |
int32 | MoveKey
(
int32 KeyIndex, |
Move the key at index KeyIndex to a new time |
![]() |
void | RemoveKey
(
int32 KeyIndex |
Remove the key at a given index |
![]() |
void | Reset () |
Remove all the keys from this channel |
![]() |
int32 | SetKeyTime
(
int32 KeyIndex, |
Move the key at index KeyIndex to a new time |
![]() |
void | SetKeyTimes
(
TArrayView< const FKeyHandle > InHandles, |
Set key times for a number of keys in this channel data |
![]() |
FKeyHandle | Set the value of the key at InTime to InValue, adding a new key if necessary |
Operators
Type | Name | Description | |
---|---|---|---|
![]() |
Conversion to a constant version of this class |
Typedefs
Name | Description |
---|---|
ParamType |