Creating nodes quickly in the Visual Shader Graph.
Describe the problem or limitation you are having in your project
Currently creating nodes in the Visual Shader is a little slow with the lack of having hotkeys. One must invoke the add node command with the right mouse button first, then search for the node to create it.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
It would be incredibly helpful to have the ability to set hotkeys to create specific Visual Shader nodes in the Visual Shader graph. A good example is in Unreal Engine, while not customizable, you can hold a key and click to place a node, such as UV Coords: Press U then LMB click in the graph and it creates the node at your mouse coordinates.
But to take that a step further, it would be so much more useful if we could just pick a node we want to assign a key (or combination of keys) for, and then assign said key/combo. Pressing that key/combo would then create the node you specified.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
I imagine having a list of all available nodes, highlighting or RMB clicking, to invoke some kind of hotkey assigner to whatever the node might be. Then once it's assigned you simply press the hotkey you assigned to create the node to whatever it was you initially assigned.
If this enhancement will not be used often, can it be worked around with a few lines of script?
That I don't know the answer to, but I don't think so.
Is there a reason why this should be core and not an add-on in the asset library?
I would consider it base functionality for visual editors such as this one.
Describe the project you are working on
Creating nodes quickly in the Visual Shader Graph.
Describe the problem or limitation you are having in your project
Currently creating nodes in the Visual Shader is a little slow with the lack of having hotkeys. One must invoke the add node command with the right mouse button first, then search for the node to create it.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
It would be incredibly helpful to have the ability to set hotkeys to create specific Visual Shader nodes in the Visual Shader graph. A good example is in Unreal Engine, while not customizable, you can hold a key and click to place a node, such as UV Coords: Press U then LMB click in the graph and it creates the node at your mouse coordinates.
But to take that a step further, it would be so much more useful if we could just pick a node we want to assign a key (or combination of keys) for, and then assign said key/combo. Pressing that key/combo would then create the node you specified.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
I imagine having a list of all available nodes, highlighting or RMB clicking, to invoke some kind of hotkey assigner to whatever the node might be. Then once it's assigned you simply press the hotkey you assigned to create the node to whatever it was you initially assigned.
If this enhancement will not be used often, can it be worked around with a few lines of script?
That I don't know the answer to, but I don't think so.
Is there a reason why this should be core and not an add-on in the asset library?
I would consider it base functionality for visual editors such as this one.