Create a tool node¶
Create¶
- To create a tool, create a new blueprint class inheriting from NBB_NodeWidget
- Move the created blueprint to the Nodes directory of the plugin (Plugins/NKBetterBlueprint/Nodes) in the content drawer
- Rename the blueprint to make it start by
NBB_Tool_
(ex:NBB_Tool_MyTool
) - Restart the editor, your tool will be available in the blueprint graph context menu under the name
MyTool
in theNBB
category
Data¶
The tool can manage data using functions from NBB_NodeWidget, it uses a key/value container.
Functions
- SetData : set string data that match key
- GetData : get string data by key
- DelData : delete data that match key
- GetAllData : get the map container