engine
 
载入中...
搜索中...
未找到
类 | Public 成员函数 | 静态 Public 成员函数 | 所有成员列表
FMovieSceneChannelValueHelper结构体 参考

Utility class that gets and sets a specific key value for a key struct 更多...

#include <MovieSceneKeyStructHelper.h>

类

struct  IChannelValueHelper
 Underlying implementation interface 更多...
 

Public 成员函数

template<typename ChannelType , typename ValueType >
 FMovieSceneChannelValueHelper (const TMovieSceneChannelHandle< ChannelType > &InChannel, ValueType *InUserValue, TArrayView< const FKeyHandle > AllKeyHandles)
 Construction from a channel handle, a pointer to an external user-facing value on the key struct, and an array of handles 更多...
 
template<typename ChannelType , typename ValueType >
 FMovieSceneChannelValueHelper (const TMovieSceneChannelHandle< ChannelType > &InChannel, ValueType *InUserValue, TOptional< TTuple< FKeyHandle, FFrameNumber > > InKeyHandleAndTime)
 Construction from a channel handle, a pointer to an external user-facing value on the key struct, and a specific key handle/time 更多...
 
IChannelValueHelper * operator-> ()
 Pointer operator overload that allows access to the underlying interface
 

静态 Public 成员函数

template<typename ChannelType >
static TOptional< TTuple< FKeyHandle, FFrameNumber > > FindFirstKey (ChannelType *InChannel, TArrayView< const FKeyHandle > AllKeyHandles)
 Attempt to find a single key handle that exists on the specified channel 更多...
 

详细描述

Utility class that gets and sets a specific key value for a key struct

构造及析构函数说明

◆ FMovieSceneChannelValueHelper() [1/2]

template<typename ChannelType , typename ValueType >
FMovieSceneChannelValueHelper::FMovieSceneChannelValueHelper ( const TMovieSceneChannelHandle< ChannelType > &  InChannel,
ValueType *  InUserValue,
TArrayView< const FKeyHandle >  AllKeyHandles 
)

Construction from a channel handle, a pointer to an external user-facing value on the key struct, and an array of handles

参数
InChannelA handle to the channel that contains the key we're editing
InUserValuePointer to a user-facing value on an editable UStruct instance
AllKeyHandlesArray of all key handles that should be edited using this helper

◆ FMovieSceneChannelValueHelper() [2/2]

template<typename ChannelType , typename ValueType >
FMovieSceneChannelValueHelper::FMovieSceneChannelValueHelper ( const TMovieSceneChannelHandle< ChannelType > &  InChannel,
ValueType *  InUserValue,
TOptional< TTuple< FKeyHandle, FFrameNumber > >  InKeyHandleAndTime 
)

Construction from a channel handle, a pointer to an external user-facing value on the key struct, and a specific key handle/time

参数
InChannelA handle to the channel that contains the key we're editing
InUserValuePointer to a user-facing value on an editable UStruct instance
InKeyHandleAndTime(Optional) Specific key value and time that should be edited

成员函数说明

◆ FindFirstKey()

template<typename ChannelType >
TOptional< TTuple< FKeyHandle, FFrameNumber > > FMovieSceneChannelValueHelper::FindFirstKey ( ChannelType *  InChannel,
TArrayView< const FKeyHandle >  AllKeyHandles 
)
static

Attempt to find a single key handle that exists on the specified channel

参数
InChannelThe channel to look on
AllKeyHandlesThe key handles to search for
返回
(Optional) A key handle and time pair for the first valid key handle found

该结构体的文档由以下文件生成: