Navigation
API > API/Plugins > API/Plugins/ModelingComponents
FCreateMeshObjectResult is returned by UModelingObjectsCreationAPI::CreateMeshObject() to indicate success/failure and provide information about created mesh objects
| Name | FCreateMeshObjectResult |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingObjectsCreationAPI.h |
| Include Path | #include "ModelingObjectsCreationAPI.h" |
Syntax
USTRUCT (BlueprintType )
struct FCreateMeshObjectResult
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NewActor | TObjectPtr< AActor > | A pointer to a newly-created Actor for the mesh object, if applicable (eg StaticMeshActor) | ModelingObjectsCreationAPI.h |
|
| NewAsset | TObjectPtr< UObject > | A pointer to a newly-created Asset for the mesh object, if applicable (eg StaticMeshAsset) | ModelingObjectsCreationAPI.h |
|
| NewComponent | TObjectPtr< UPrimitiveComponent > | A pointer to a newly-created PrimitiveComponent for the mesh object, if applicable (eg StaticMeshComponent) | ModelingObjectsCreationAPI.h |
|
| ResultCode | ECreateModelingObjectResult | Success/Failure status for the requested operation | ModelingObjectsCreationAPI.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsOK() |
ModelingObjectsCreationAPI.h |