Navigation
API > API/Plugins > API/Plugins/ModelingToolsEditorMode > API/Plugins/ModelingToolsEditorMode/IModelingModeToolExtension
Description
Query the Extension for a list of Tools to expose in Modeling Mode. Note that this function will be called multiple times by Modeling Mode, as the information about the set of Tools is needed in multiple places. The QueryInfo.bIsInfoQueryOnly flag indicates whether the caller requires ToolBuilder instances.
If creating multiple copies of the ToolBuilder for a particular Tool would be problematic, it is the responsiblity of the IModelingModeToolExtension implementation to cache these internally, otherwise they will be garbage collected when the caller releases them.
| Name | GetExtensionTools |
| Type | function |
| Header File | /Engine/Plugins/Editor/ModelingToolsEditorMode/Source/ModelingToolsEditorMode/Public/ModelingModeToolExtensions.h |
| Include Path | #include "ModelingModeToolExtensions.h" |
void GetExtensionTools
(
const FExtensionToolQueryInfo & QueryInfo,
TArray < FExtensionToolDescription > & ToolsOut
)