Navigation
API > API/Plugins > API/Plugins/ModelingComponents
FCreateComponentResult is returned by UModelingObjectsCreationAPI::CreateNewComponentOnActor() to indicate success/failure and provide information about created components
| Name | FCreateComponentResult |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingObjectsCreationAPI.h |
| Include Path | #include "ModelingObjectsCreationAPI.h" |
Syntax
USTRUCT (BlueprintType )
struct FCreateComponentResult
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NewComponent | TObjectPtr< UActorComponent > | A pointer to a newly-created Component | 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 |