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.
| 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.
| FMovieSceneChannel * FMovieSceneChannelHandle::Get | ( | ) | const |
Get the channel pointer this handle represents.
|
inline |
Attempt to access the proxy for this channel.
Will return nullptr if it is no longer valid.
|
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)
|
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)