engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 属性 | 所有成员列表
TInputUnifiedDelegate< DelegateType, DynamicDelegateType > 模板结构体 参考

Utility delegate class to allow binding to either a C++ function or a blueprint script delegate 更多...

#include <InputComponent.h>

Public 成员函数

void BindDelegate (UObject *Object, const FName FuncName)
 Binds a dynamic delegate and unbinds any bound native delegate
 
template<class UserClass >
void BindDelegate (UserClass *Object, typename DelegateType::template TUObjectMethodDelegate< UserClass >::FMethodPtr Func)
 Binds a native delegate and unbinds any bound dynamic delegate
 
const DelegateType & GetDelegate () const
 Returns a const reference to the Function Delegate.
 
DelegateType & GetDelegateForManualSet ()
 Returns a reference to the native delegate and unbinds any bound dynamic delegate
 
const DynamicDelegateType & GetDynamicDelegate () const
 Returns a const reference to the Dynamic Function Delegate.
 
bool IsBound () const
 Returns if either the native or dynamic delegate is bound
 
bool IsBoundToObject (void const *Object) const
 Returns if either the native or dynamic delegate is bound to an object
 
void Unbind ()
 Unbinds any bound delegates
 

Protected 属性

TSharedPtr< DelegateType > FuncDelegate
 Holds the delegate to call.
 
TSharedPtr< DynamicDelegateType > FuncDynDelegate
 Holds the dynamic delegate to call.
 

详细描述

template<class DelegateType, class DynamicDelegateType>
struct TInputUnifiedDelegate< DelegateType, DynamicDelegateType >

Utility delegate class to allow binding to either a C++ function or a blueprint script delegate


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