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

Handle to a specific channel in a UMovieSceneSection. 更多...

#include <MovieSceneChannelHandle.h>

+ 类 FMovieSceneChannelHandle 继承关系图:

Public 成员函数

template<typename OtherChannelType >
TMovieSceneChannelHandle< OtherChannelType > Cast () const
 Cast this handle to a handle of a related type. 更多...
 
 FMovieSceneChannelHandle ()
 Default constructor
 
 FMovieSceneChannelHandle (TWeakPtr< FMovieSceneChannelProxy > InWeakChannelProxy, FName InChannelTypeName, int32 InChannelIndex)
 Construction from a weak channel proxy, the channel's type, and its index
 
FMovieSceneChannel * Get () const
 Get the channel pointer this handle represents. 更多...
 
int32 GetChannelIndex () const
 Access this channel's index
 
FMovieSceneChannelProxy * GetChannelProxy () const
 Attempt to access the proxy for this channel. 更多...
 
FName GetChannelTypeName () const
 Access this channel's type identifier
 

友元

bool operator!= (const FMovieSceneChannelHandle &A, const FMovieSceneChannelHandle &B)
 Compare this channel handle for inequality against another. 更多...
 
bool operator== (const FMovieSceneChannelHandle &A, const FMovieSceneChannelHandle &B)
 Compare this channel handle for equality against another. 更多...
 

详细描述

Handle to a specific channel in a UMovieSceneSection.

Will become nullptr when the FMovieSceneChannelProxy it was created with is reallocated.

成员函数说明

◆ Cast()

template<typename OtherChannelType >
TMovieSceneChannelHandle< OtherChannelType > FMovieSceneChannelHandle::Cast

Cast this handle to a handle of a related type.

Callee is responsible for ensuring that the type's are compatible.

◆ Get()

FMovieSceneChannel * FMovieSceneChannelHandle::Get ( ) const

Get the channel pointer this handle represents.

返回
the channel's pointer, or nullptr if the proxy it was created with is no longer alive.

◆ GetChannelProxy()

FMovieSceneChannelProxy * FMovieSceneChannelHandle::GetChannelProxy ( ) const
inline

Attempt to access the proxy for this channel.

Will return nullptr if it is no longer valid.

友元及相关函数文档

◆ operator!=

bool operator!= ( const FMovieSceneChannelHandle &  A,
const FMovieSceneChannelHandle &  B 
)
friend

Compare this channel handle for inequality against another.

Will return true for a handle that is to a different proxy even if it might have pointed to the same data (ie, one handle has expired)

◆ operator==

bool operator== ( const FMovieSceneChannelHandle &  A,
const FMovieSceneChannelHandle &  B 
)
friend

Compare this channel handle for equality against another.

Will return false for a handle that is to a different proxy even if it might have pointed to the same data (ie, one handle has expired)


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