Navigation
API > API/Plugins > API/Plugins/UVEditor
The actual asset editor class doesn't have that much in it, intentionally.
Our current asset editor guidelines ask us to place as little business logic as possible into the class, instead putting as much of the non-UI code into the subsystem as possible, and the UI code into the toolkit (which this class owns).
However, since we're using a mode and the Interactive Tools Framework, a lot of our business logic ends up inside the mode and the tools, not the subsystem. The front-facing code is mostly in the asset editor toolkit, though the mode toolkit has most of the things that deal with the toolbar on the left.
| Name | UUVEditor |
| Type | class |
| Header File | /Engine/Plugins/Editor/UVEditor/Source/UVEditor/Public/UVEditor.h |
| Include Path | #include "UVEditor.h" |
Syntax
UCLASS (MinimalAPI)
class UUVEditor : public UAssetEditor
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAssetEditor → UUVEditor
Implements Interfaces
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IAssetEditorInstance * GetInstanceInterface() |
Returns the asset editor instance interface, so that its window can be focused, for example. | UVEditor.h | |
void GetWorldspaceRelativeTransforms
(
TArray< FTransform3d >& OutTransforms |
UVEditor.h | ||
void Initialize
(
const TArray< TObjectPtr< UObject > >& InObjects |
UVEditor.h | ||
void Initialize
(
const TArray< TObjectPtr< UObject > >& InObjects, |
UVEditor.h |
Overridden from UAssetEditor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< FBaseAssetToolkit > CreateToolkit() |
UVEditor.h | ||
| UVEditor.h |