Navigation
API > API/Plugins > API/Plugins/ModelingComponents
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingObjectsCreationAPI.h |
| Include | #include "ModelingObjectsCreationAPI.h" |
Syntax
USTRUCT&40;Blueprintable&41;
struct FCreateTextureObjectParams
Remarks
FCreateTextureObjectParams is a collection of input data intended to be passed to UModelingObjectsCreationAPI::CreateTextureObject(). Not all data necessarily needs to be specified, this will depend on the particular implementation. The comments below are representative of how this data structure is used in the Tools and API implementation(s) provided with Unreal Engine, but end-user implementors could abuse these fields as necessary.
The definition of a "texture object" is implementation-specific. In the UE Editor this is generally a UTexture2D
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | BaseName | The base name of the new mesh object | |
| TObjectPtr< UTexture2D > | GeneratedTransientTexture | Input data Texture source data. | |
| TObjectPtr< UObject > | StoreRelativeToObject | An object to store the Texture relative to. | |
| TObjectPtr< UWorld > | TargetWorld | The World/Level the new texture object should be created in (if known). | |
| int32 | TypeHintExtended | Base dataAn arbitrary integer that can be used to pass data to an API implementation |