Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Create from usage for delegates
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - Oct 02 2019 :  2:28:47 PM  Show Profile  Reply with Quote

I'd like to see support added for creating delegate declaration/implementation from usage. At least it looks like this is not supported at the moment.

PlayerInputComponent->BindAxis("MoveForward", this, &AMyCharacterBase::MoveForward);

The code highlighted in red is the delegate I'd like to create from usage using the Alt-Shift-Q shortcut.

Whole Tomato Software

United Kingdom
16105 Posts

Posted - Oct 04 2019 :  4:51:54 PM  Show Profile  Reply with Quote
Can you explain what you mean by a delegate in this case? I am assuming you are talking about C++, but a quick search to see what you are doing suggests 7 different ways of having a "delegate":


what is the declaration for the "BindAxis" function?

Is this the Unreal Engine function:

class UInputComponent
	template<class UserClass>
	FInputAxisBinding& BindAxis( const FName AxisName, UserClass* Object, typename FInputAxisHandlerSignature::TUObjectMethodDelegate< UserClass >::FMethodPtr Func )

or something else that just has a similar name?

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2019 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000