Navigation
API > API/Plugins > API/Plugins/ModelingComponentsEditorOnly
Options for new UTexture asset created by Create() functions below.
| Name | FTexture2DAssetOptions |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Public/AssetUtils/CreateTexture2DUtil.h |
| Include Path | #include "AssetUtils/CreateTexture2DUtil.h" |
Syntax
struct FTexture2DAssetOptions
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDeferPostEditChange | bool | AssetUtils/CreateTexture2DUtil.h | ||
| bOverwriteIfExists | bool | If NewAssetPath already exists, update the existing Texture2D. | AssetUtils/CreateTexture2DUtil.h | |
| NewAssetPath | FString | AssetUtils/CreateTexture2DUtil.h | ||
| UsePackage | UPackage * | This package will be used if it is not null, otherwise a new package will be created at NewAssetPath | AssetUtils/CreateTexture2DUtil.h |