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
struct FMovieSceneChannelData
Remarks
Base class channel data utility that provides a consistent interface to a sorted array of times and handles. Complete access should be through TMovieSceneChannelData that allows mutation of the data
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FKeyHandleLookupTable * | KeyHandles | Pointer to an external key handle map |
![]() |
FMovieSceneChannel * | OwningChannel | Optional Pointer to the owning FMovieSceneChannel, should be set if the add,move, and delete callbacks are needed |
![]() |
TArray< FFrameNumber > * | Times | Pointer to an external array of sorted times. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FMovieSceneChannelData
(
TArray< FFrameNumber >* InTimes, |
Constructor that takes a non-owning pointer to an array of times and a key handle map |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
int32 | AddKeyInternal
(
FFrameNumber InTime |
Add a new key at the specified time |
![]() |
void | ChangeFrameResolution
(
FFrameRate SourceRate, |
Convert the frame resolution of a movie scene channel by moving the key times to the equivalent frame time |
![]() |
int32 | FindKey
(
FFrameNumber InTime, |
Attempt to find a key at a given time and tolerance |
![]() |
void | FindKeys
(
FFrameNumber InTime, |
Find the range of keys that fall around InTime +/- InTolerance up to a maximum |
![]() |
FKeyHandle | GetHandle
(
int32 Index |
Retrieve a key handle for the specified key time index |
![]() |
int32 | GetIndex
(
FKeyHandle Handle |
Attempt to retrieve the index of key from its handle |
![]() |
void | GetKeys
(
const TRange< FFrameNumber >& WithinRange, |
Get all the keys in the given range. |
![]() |
void | GetKeyTimes
(
TArrayView< const FKeyHandle > InHandles, |
Get key times for a number of keys in the channel data |
![]() ![]() |
TArrayView< const FFrameNumber > | GetTimes () |
Read-only access to this channel's key times. |
![]() |
TArrayView< FFrameNumber > | GetTimes () |
Mutable access to this channel's key times. |
![]() ![]() |
TRange< FFrameNumber > | Compute the total time range of the channel data. | |
![]() |
int32 | MoveKeyInternal
(
int32 KeyIndex, |
Move the key at index KeyIndex to a new time |
![]() |
void | Offset
(
FFrameNumber DeltaTime |
Offset the channel data by a given delta time |