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

Proxy type stored inside UMovieSceneSection for access to all its channels. 更多...

#include <MovieSceneChannelProxy.h>

+ 类 FMovieSceneChannelProxy 继承关系图:

Public 成员函数

const FMovieSceneChannelEntry * FindEntry (FName ChannelTypeName) const
 Find an entry by its channel type name 更多...
 
int32 FindIndex (FName ChannelTypeName, const FMovieSceneChannel *ChannelPtr) const
 Find the index of the specified channel ptr in this proxy 更多...
 
 FMovieSceneChannelProxy ()
 Default construction - emtpy proxy
 
template<typename ChannelType >
 FMovieSceneChannelProxy (ChannelType &InChannel)
 Construction via a single channel, and its editor data Channel's address is stored internally as a voic* and should exist as long as this channel proxy does.
 
 FMovieSceneChannelProxy (const FMovieSceneChannelProxy &)=delete
 Not copyable or moveable to ensure that previously retrieved pointers remain valid for the lifetime of this object.
 
 FMovieSceneChannelProxy (FMovieSceneChannelProxyData &&InChannels)
 Construction via multiple channels
 
TArrayView< const FMovieSceneChannelEntry > GetAllEntries () const
 Const access to all the entries in this proxy 更多...
 
FMovieSceneChannel * GetChannel (FName ChannelTypeName, int32 ChannelIndex) const
 Get the channel for the specified index of a particular type. 更多...
 
template<typename ChannelType >
ChannelType * GetChannel (int32 ChannelIndex) const
 Get the channel for the specified index of a particular type. 更多...
 
template<typename ChannelType >
TArrayView< ChannelType * > GetChannels () const
 Get all channels of the specified type 更多...
 
FMovieSceneChannelHandle MakeHandle (FName ChannelTypeName, int32 Index)
 Make a channel handle out for the specified index and channel type name 更多...
 
template<typename ChannelType >
TMovieSceneChannelHandle< ChannelType > MakeHandle (int32 Index)
 Make a channel handle out for the specified index and templated channel type 更多...
 
- Public 成员函数 继承自 TSharedFromThis< FMovieSceneChannelProxy >
TSharedRef< FMovieSceneChannelProxy, Mode > AsShared ()
 Provides access to a shared reference to this object. 更多...
 
TSharedRef< FMovieSceneChannelProxy const, Mode > AsShared () const
 Provides access to a shared reference to this object (const.) Note that is only valid to call this after a shared reference (or shared pointer) to the object has already been created. 更多...
 
FORCEINLINE bool DoesSharedInstanceExist () const
 Checks whether our referenced instance is valid (ie, whether it's safe to call AsShared). 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, Mode > const *InSharedPtr, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 
FORCEINLINE void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, Mode > const *InSharedRef, OtherType *InObject) const
 INTERNAL USE ONLY – Do not call this method. 更多...
 

额外继承的成员函数

- Protected 成员函数 继承自 TSharedFromThis< FMovieSceneChannelProxy >
FORCEINLINE TSharedFromThis & operator= (TSharedFromThis const &)
 Hidden stub assignment operator
 
 TSharedFromThis ()
 Hidden stub constructor
 
 TSharedFromThis (TSharedFromThis const &)
 Hidden stub copy constructor
 
 ~TSharedFromThis ()
 Hidden destructor
 
- 静态 Protected 成员函数 继承自 TSharedFromThis< FMovieSceneChannelProxy >
static FORCEINLINE TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 
static FORCEINLINE TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 Provides access to a shared reference to an object, given the object's 'this' pointer. 更多...
 

详细描述

Proxy type stored inside UMovieSceneSection for access to all its channels.

Construction via either a single channel, or a FMovieSceneChannelProxyData structure This proxy exists as a generic accessor to any channel data existing in derived types

成员函数说明

◆ FindEntry()

const FMovieSceneChannelEntry * FMovieSceneChannelProxy::FindEntry ( FName  ChannelTypeName) const

Find an entry by its channel type name

返回
A pointer to the channel, or nullptr

◆ FindIndex()

int32 FMovieSceneChannelProxy::FindIndex ( FName  ChannelTypeName,
const FMovieSceneChannel *  ChannelPtr 
) const

Find the index of the specified channel ptr in this proxy

参数
ChannelTypeNameThe type name of the channel
ChannelPtrThe channel pointer to find
返回
The index of the channel if found, else INDEX_NONE

◆ GetAllEntries()

TArrayView< const FMovieSceneChannelEntry > FMovieSceneChannelProxy::GetAllEntries ( ) const
inline

Const access to all the entries in this proxy

返回
Array view of all this proxy's entries (channels grouped by type)

◆ GetChannel() [1/2]

FMovieSceneChannel * FMovieSceneChannelProxy::GetChannel ( FName  ChannelTypeName,
int32  ChannelIndex 
) const

Get the channel for the specified index of a particular type.

返回
A pointer to the channel, or nullptr if the index was invalid, or the type was not present

◆ GetChannel() [2/2]

template<typename ChannelType >
ChannelType * FMovieSceneChannelProxy::GetChannel ( int32  ChannelIndex) const

Get the channel for the specified index of a particular type.

返回
A pointer to the channel, or nullptr if the index was invalid, or the type was not present

◆ GetChannels()

template<typename ChannelType >
TArrayView< ChannelType * > FMovieSceneChannelProxy::GetChannels

Get all channels of the specified type

返回
A possibly empty array view of all the channels in this proxy that match the template type
返回
A possibly empty array view of all the channels in this proxy that match the template type

◆ MakeHandle() [1/2]

FMovieSceneChannelHandle FMovieSceneChannelProxy::MakeHandle ( FName  ChannelTypeName,
int32  Index 
)

Make a channel handle out for the specified index and channel type name

返回
A handle to the supplied channel that will become nullptr when the proxy is reallocated, or nullptr if the index or channel type name are invalid.

◆ MakeHandle() [2/2]

template<typename ChannelType >
TMovieSceneChannelHandle< ChannelType > FMovieSceneChannelProxy::MakeHandle ( int32  Index)
inline

Make a channel handle out for the specified index and templated channel type

返回
A handle to the supplied channel that will become nullptr when the proxy is reallocated, or nullptr if the index or channel type name are invalid.

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