Navigation
API > API/Plugins > API/Plugins/ModelingComponents
FCreateComponentParams is a collection of input data intended to be passed to UModelingObjectsCreationAPI::CreateNewComponentOnActor().
| Name | FCreateComponentParams |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingObjectsCreationAPI.h |
| Include Path | #include "ModelingObjectsCreationAPI.h" |
Syntax
USTRUCT (BlueprintType )
struct FCreateComponentParams
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BaseName | FString | The base name of the new Component | ModelingObjectsCreationAPI.h |
|
| bSetAsRoot | bool | If true, and if the component class is derived from USceneComponent, set this component as the root of the Actor. | ModelingObjectsCreationAPI.h |
|
| bTransact | bool | If true, wrap the creation operation in a transaction, and create the component with the RF_Transactional object flag set. | ModelingObjectsCreationAPI.h |
|
| ComponentClass | TObjectPtr< UClass > | A component class to instantiate a new component instance of. | ModelingObjectsCreationAPI.h |
|
| HostActor | TObjectPtr< AActor > | An actor to host the new component | ModelingObjectsCreationAPI.h |
|