Navigation
API > API/Editor > API/Editor/Kismet > API/Editor/Kismet/FBlueprintEditorModule > API/Editor/Kismet/FBlueprintEditorModule/CreateBlueprintEditor
References
| Module | Kismet |
| Header | /Engine/Source/Editor/Kismet/Public/BlueprintEditorModule.h |
| Include | #include "BlueprintEditorModule.h" |
| Source | /Engine/Source/Editor/Kismet/Private/BlueprintEditorModule.cpp |
virtual TSharedRef< IBlueprintEditor > CreateBlueprintEditor
&40;
const EToolkitMode::Type Mode,
const TSharedPtr< IToolkitHost > & InitToolkitHost,
UBlueprint &42; Blueprint,
bool bShouldOpenInDefaultsMode
&41;
Remarks
Creates an instance of a Kismet editor object. Only virtual so that it can be called across the DLL boundary.
Note: This function should not be called directly, use one of the following instead:
- FKismetEditorUtilities::BringKismetToFocusAttentionOnObject
- GEditor->GetEditorSubsystem
()->OpenEditorForAsset Interface to the new Blueprint editor
Parameters
| Name | Description |
|---|---|
| Mode | Mode that this editor should operate in |
| InitToolkitHost | When Mode is WorldCentric, this is the level editor instance to spawn this editor within |
| Blueprint | The blueprint object to start editing |
| bShouldOpenInDefaultsMode | If true, the editor will open in defaults editing mode |