Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Public/EditorModelingObjectsCreationAPI.h |
Include |
#include "EditorModelingObjectsCreationAPI.h" |
UCLASS()
class UEditorModelingObjectsCreationAPI : public UModelingObjectsCreationAPI
Implementation of UModelingObjectsCreationAPI suitable for use in UE Editor.
CreateMeshObject() currently creates a StaticMesh Asset/Actor
CreateTextureObject() currently creates a UTexture2D Asset
This is intended to be registered in the ToolsContext ContextObjectStore. Static utility functions Register() / Find() / ::Deregister() can be used to do this in a consistent way.
Several client-provided callbacks can be used to customize functionality (eg in Modeling Mode)
GetNewAssetPathNameCallback is called to determine an asset path. This can be used to do things like pop up an interactive path-selection dialog, use project-defined paths, etc
OnModelingMeshCreated is broadcast for each new created mesh object
OnModelingTextureCreated is broadcast for each new created texture object
Name | Description | ||
---|---|---|---|
|
GetNewAssetPathNameCallback |
||
|
OnModelingMeshCreated |
||
|
OnModelingTextureCreated |
Name | Description | ||
---|---|---|---|
|
FCreateMeshO... |
CreateDynamicMeshActor ( |
|
|
FCreateMeshO... |
CreateStaticMeshAsset ( |
Internal implementations called by public functions |
|
FCreateMeshO... |
CreateVolume ( |
|
|
Deregister ( |
||
|
FilterMaterials ( |
||
|
UEditorModel... |
Find ( |
|
|
UEditorModel... |
Register ( |
Utility functions to handle registration/unregistration |
Name | Description | ||
---|---|---|---|
|
FCreateMeshO... |
CreateMeshObject ( |
Create a new mesh object based on the data in CreateMeshParams |
|
FCreateMeshO... |
CreateMeshObject ( |
|
|
FCreateTextu... |
CreateTextureObject ( |
Create a new texture object based on the data in CreateTexParams |
|
FCreateTextu... |
CreateTextureObject ( |
|
|
HasMoveVariants() |
Non-UFunction variants that support std::move operators |
Name |
Description |
---|---|
FGetAssetPathNameCallbackSignature |
Callbacks that editor can hook into to handle asset creation |
FModelingMeshCreatedSignature |
|
FModelingTextureCreatedSignature |