AssetUtils

Choose your operating system:

Windows

macOS

Linux

Classes

Name

Description

Public struct

FMaterialAssetOptions

Options for new UMaterial asset created by Create() functions below.

Public struct

FMaterialAssetResults

Output information about a newly-created UMaterial, returned by Create functions below.

Public struct

FStaticMeshAssetMeshes

Set of input meshes for StaticMesh Create() functions below.

Public struct

FStaticMeshAssetOptions

Options for new UStaticMesh asset created by Create() functions below.

Public struct

FStaticMeshResults

Output information about a newly-created StaticMesh, returned by Create functions below.

Public struct

FTexture2DAssetOptions

Options for new UTexture asset created by Create() functions below.

Public struct

FTexture2DAssetResults

Output information about a newly-created UTexture2D, returned by Create functions below.

Enums

Name

Description

Public enum

UE::AssetUtils::ECreateMaterialResult

Result enum returned by Create() functions below to indicate succes/error conditions

Public enum

UE::AssetUtils::ECreateStaticMeshResult

Result enum returned by Create functions below to indicate succes/error conditions

Public enum

UE::AssetUtils::ECreateTexture2DResult

Result enum returned by Create() functions below to indicate succes/error conditions

Functions

Name Description

Public function

ECreateMater...

 

UE::AssetUtils::CreateDerivedMaterialInstance

(
    UMaterialInterface* BaseMateri...,
    FMaterialAssetOptions& Options,
    FMaterialAssetResults& ResultsOut
)

Create a new UMaterialInstanceConstant Asset derived from the parent UMaterial of BaseMaterial.

Public function

ECreateMater...

 

UE::AssetUtils::CreateDuplicateMaterial

(
    UMaterialInterface* BaseMateri...,
    FMaterialAssetOptions& Options,
    FMaterialAssetResults& ResultsOut
)

Create a new UMaterial Asset by duplicating the parent UMaterial of BaseMaterial

Public function

ECreateStati...

 

UE::AssetUtils::CreateStaticMeshAsset

(
    FStaticMeshAssetOptions& Options,
    FStaticMeshResults& ResultsOut
)

Create a new UStaticMesh Asset based on the input Options

Public function

ECreateTextu...

 

UE::AssetUtils::SaveGeneratedTexture2DAsset

(
    UTexture2D* GeneratedTexture,
    FTexture2DAssetOptions& Options,
    FTexture2DAssetResults& ResultsOut
)

Convert a temporary UTexture2D in the Transient package into a serialized Asset