UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMovieSceneObjectPathChannel Struct Reference

#include <MovieSceneObjectPathChannel.h>

+ Inheritance diagram for FMovieSceneObjectPathChannel:

Public Types

typedef FMovieSceneObjectPathChannelKeyValue CurveValueType
 

Public Member Functions

 FMovieSceneObjectPathChannel ()
 
void SetPropertyClass (UClass *InPropertyClass)
 
UClassGetPropertyClass () const
 
TMovieSceneChannelData< FMovieSceneObjectPathChannelKeyValueGetData ()
 
TMovieSceneChannelData< const FMovieSceneObjectPathChannelKeyValueGetData () const
 
MOVIESCENE_API bool Evaluate (FFrameTime InTime, UObject *&OutValue) const
 
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< FFrameNumberComputeEffectiveRange () 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 FKeyHandle GetHandle (int32 Index) override
 
virtual MOVIESCENE_API int32 GetIndex (FKeyHandle Handle) override
 
void SetDefault (UObject *InDefaultValue)
 
MOVIESCENE_API void SetDefault (const FMovieSceneObjectPathChannelKeyValue &InDefaultValue)
 
const FMovieSceneObjectPathChannelKeyValueGetDefault () const
 
void RemoveDefault ()
 
- Public Member Functions inherited from FMovieSceneChannel
 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 ()
 
FMovieSceneChannelDataKeyAddedEventOnKeyAddedEvent ()
 
FMovieSceneChannelDataKeyDeletedEventOnKeyDeletedEvent ()
 
FMovieSceneChannelDataKeyMovedEventOnKeyMovedEvent ()
 

Additional Inherited Members

- Protected Attributes inherited from FMovieSceneChannel
FMovieSceneChannelDataKeyAddedEvent KeyAddedEvent
 
FMovieSceneChannelDataKeyDeletedEvent KeyDeletedEvent
 
FMovieSceneChannelDataKeyMovedEvent KeyMovedEvent
 

Member Typedef Documentation

◆ CurveValueType

Constructor & Destructor Documentation

◆ FMovieSceneObjectPathChannel()

FMovieSceneObjectPathChannel::FMovieSceneObjectPathChannel ( )
inline

Default constructor

Member Function Documentation

◆ ClearDefault()

void FMovieSceneObjectPathChannel::ClearDefault ( )
overridevirtual

Clear all the default value on this channel

Reimplemented from FMovieSceneChannel.

◆ ComputeEffectiveRange()

TRange< FFrameNumber > FMovieSceneObjectPathChannel::ComputeEffectiveRange ( ) const
overridevirtual

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()

void FMovieSceneObjectPathChannel::DeleteKeys ( TArrayView< const FKeyHandle InHandles)
overridevirtual

Delete the keys for the specified key handles

Parameters
InHandlesArray of handles to delete

Reimplemented from FMovieSceneChannel.

◆ DeleteKeysFrom()

void FMovieSceneObjectPathChannel::DeleteKeysFrom ( FFrameNumber  InTime,
bool  bDeleteKeysBefore 
)
overridevirtual

Delete keys before or after a specified time

Parameters
InTimeDelete keys after this time
bDeleteKeysBeforeWhether to delete keys before the specified time

Reimplemented from FMovieSceneChannel.

◆ DuplicateKeys()

void FMovieSceneObjectPathChannel::DuplicateKeys ( TArrayView< const FKeyHandle InHandles,
TArrayView< FKeyHandle OutNewHandles 
)
overridevirtual

Duplicate the keys for the specified key handles

Parameters
InHandlesArray of handles to duplicate
OutKeyTimesPre-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()

bool FMovieSceneObjectPathChannel::Evaluate ( FFrameTime  InTime,
UObject *&  OutValue 
) const

Evaluate this channel

Parameters
InTimeThe time to evaluate at
OutValueA value to receive the result
Returns
true if the channel was evaluated successfully, false otherwise

◆ GetData() [1/2]

TMovieSceneChannelData< FMovieSceneObjectPathChannelKeyValue > FMovieSceneObjectPathChannel::GetData ( )
inline

Access a mutable interface for this channel's data

Returns
An object that is able to manipulate this channel's data

◆ GetData() [2/2]

TMovieSceneChannelData< const FMovieSceneObjectPathChannelKeyValue > FMovieSceneObjectPathChannel::GetData ( ) const
inline

Access a constant interface for this channel's data

Returns
An object that is able to interrogate this channel's data

◆ GetDefault()

const FMovieSceneObjectPathChannelKeyValue & FMovieSceneObjectPathChannel::GetDefault ( ) const
inline

Get this channel's default value that will be used when no keys are present

Returns
(Optional) The channel's default value

◆ GetHandle()

FKeyHandle FMovieSceneObjectPathChannel::GetHandle ( int32  Index)
overridevirtual

Retrieve a key handle for the specified key time index

Parameters
IndexThe index to retrieve
Returns
A key handle that identifies the key at the specified index, regardless of re-ordering

Reimplemented from FMovieSceneChannel.

◆ GetIndex()

int32 FMovieSceneObjectPathChannel::GetIndex ( FKeyHandle  Handle)
overridevirtual

Attempt to retrieve the index of key from its handle

Parameters
HandleThe handle to retrieve
Returns
The index of the key, or INDEX_NONE

Reimplemented from FMovieSceneChannel.

◆ GetKeys()

void FMovieSceneObjectPathChannel::GetKeys ( const TRange< FFrameNumber > &  WithinRange,
TArray< FFrameNumber > *  OutKeyTimes,
TArray< FKeyHandle > *  OutKeyHandles 
)
overridevirtual

Get key information pertaining to all keys that exist within the specified range

Parameters
WithinRangeThe 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()

void FMovieSceneObjectPathChannel::GetKeyTimes ( TArrayView< const FKeyHandle InHandles,
TArrayView< FFrameNumber OutKeyTimes 
)
overridevirtual

Get all key times for the specified key handles

Parameters
InHandlesArray of handles to get times for
OutKeyTimesPre-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 FMovieSceneObjectPathChannel::GetNumKeys ( ) const
overridevirtual

Get the total number of keys on this channel

Returns
The number of keys on this channel

Reimplemented from FMovieSceneChannel.

◆ GetPropertyClass()

UClass * FMovieSceneObjectPathChannel::GetPropertyClass ( ) const
inline

◆ Offset()

void FMovieSceneObjectPathChannel::Offset ( FFrameNumber  DeltaPosition)
overridevirtual

Offset the keys within this channel by a given delta position

Parameters
DeltaPositionThe number of frames to offset by, in the sequence's frame resolution

Reimplemented from FMovieSceneChannel.

◆ Optimize()

void FMovieSceneObjectPathChannel::Optimize ( const FKeyDataOptimizationParams InParameters)
overridevirtual

Optimize this channel by removing any redundant data according to the specified parameters

Parameters
InParametersParameter struct specifying how to optimize the channel

Reimplemented from FMovieSceneChannel.

◆ RemapTimes()

void FMovieSceneObjectPathChannel::RemapTimes ( const UE::MovieScene::IRetimingInterface Retimer)
overridevirtual

Remap the times contained within this channel using a custom remapper

Reimplemented from FMovieSceneChannel.

◆ RemoveDefault()

void FMovieSceneObjectPathChannel::RemoveDefault ( )
inline

Remove this channel's default value causing the channel to have no effect where no keys are present

◆ Reset()

void FMovieSceneObjectPathChannel::Reset ( )
overridevirtual

Reset this channel back to its original state

Reimplemented from FMovieSceneChannel.

◆ SetDefault() [1/2]

void FMovieSceneObjectPathChannel::SetDefault ( const FMovieSceneObjectPathChannelKeyValue InDefaultValue)

◆ SetDefault() [2/2]

void FMovieSceneObjectPathChannel::SetDefault ( UObject InDefaultValue)
inline

Set this channel's default value that should be used when no keys are present

Parameters
InDefaultValueThe desired default value

◆ SetKeyTimes()

void FMovieSceneObjectPathChannel::SetKeyTimes ( TArrayView< const FKeyHandle InHandles,
TArrayView< const FFrameNumber InKeyTimes 
)
overridevirtual

Set key times for the specified key handles

Parameters
InHandlesArray of handles to get times for
InKeyTimesArray of times to apply - one per handle

Reimplemented from FMovieSceneChannel.

◆ SetPropertyClass()

void FMovieSceneObjectPathChannel::SetPropertyClass ( UClass InPropertyClass)
inline

The documentation for this struct was generated from the following files: