unreal.CreateComponentResult

class unreal.CreateComponentResult

Bases: StructBase

FCreateComponentResult is returned by UModelingObjectsCreationAPI::CreateNewComponentOnActor() to indicate success/failure and provide information about created components

C++ Source:

  • Plugin: MeshModelingToolset

  • Module: ModelingComponents

  • File: ModelingObjectsCreationAPI.h

Editor Properties: (see get_editor_property/set_editor_property)

  • new_component (ActorComponent): [Read-Only] A pointer to a newly-created Component

  • result_code (CreateModelingObjectResult): [Read-Only] Success/Failure status for the requested operation