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. | |
Utility delegate class to allow binding to either a C++ function or a blueprint script delegate