IMeshMergeUtilities

Typedef pair of FVector2Ds, key == uv position offset and value == uv scaling factor.

References

Module

MeshMergeUtilities

Header

/Engine/Source/Developer/MeshMergeUtilities/Public/IMeshMergeUtilities.h

Include

#include "IMeshMergeUtilities.h"

Syntax

class IMeshMergeUtilities

Remarks

Typedef pair of FVector2Ds, key == uv position offset and value == uv scaling factor.

Destructors

Name Description

Public function Virtual

~IMeshMergeUtilities()

Functions

Name Description

Public function Const

void

 

BakeMaterialsForComponent

(
    TArray< TWeakObjectPtr< UObject >> ...,
    IMaterialBakingAdapter* Adapte...
)

Bakes out (in place) materials for given adapter

Public function Const

void

 

BakeMaterialsForComponent

(
    USkeletalMeshComponent* Skelet...
)

Bakes out (in place) materials for given skeletal mesh component

Public function Const

void

 

BakeMaterialsForComponent

(
    UStaticMeshComponent* StaticMe...
)

Bakes out (in place) materials for given static mesh component

Public function Const

void

 

BakeMaterialsForMesh

(
    UStaticMesh* Mesh
)

Bakes out (in place) materials for given static mesh asset

Public function Const

void

 

CreateProxyMesh

(
    const TArray< AActor* >& InAc...,
    const FMeshProxySettings& InMeshPr...,
    UPackage* InOuter,
    const FString& InProxyBasePackageN...,
    const FGuid InGuid,
    const FCreateProxyDelegate& InProx...,
    const bool bAllowAsync,
    const float ScreenSize
)

Merges list of actors into single proxy mesh

Public function Const

void

 

CreateProxyMesh

(
    const TArray< UStaticMeshComponent ...,
    const FMeshProxySettings& InMeshPr...,
    UPackage* InOuter,
    const FString& InProxyBasePackageN...,
    const FGuid InGuid,
    const FCreateProxyDelegate& InProx...,
    const bool bAllowAsync,
    const float ScreenSize
)

Merges list of static meshes into single proxy mesh

Public function Const

void

 

CreateProxyMesh

(
    const TArray< AActor* >& InAc...,
    const FMeshProxySettings& InMeshPr...,
    UMaterialInterface* InBaseMate...,
    UPackage* InOuter,
    const FString& InProxyBasePackageN...,
    const FGuid InGuid,
    const FCreateProxyDelegate& InProx...,
    const bool bAllowAsync,
    const float ScreenSize
)

Merges list of actors into single proxy mesh

Public function Const

void

 

CreateProxyMesh

(
    const TArray< UStaticMeshComponent ...,
    const FMeshProxySettings& InMeshPr...,
    UMaterialInterface* InBaseMate...,
    UPackage* InOuter,
    const FString& InProxyBasePackageN...,
    const FGuid InGuid,
    const FCreateProxyDelegate& InProx...,
    const bool bAllowAsync,
    const float ScreenSize
)

Merges list of static meshes into single proxy mesh

Public function Const

void

 

MergeComponentsToInstances

(
    const TArray< UPrimitiveComponent&...,
    UWorld* World,
    ULevel* Level,
    const FMeshInstancingSettings& InS...,
    bool bActuallyMerge,
    bool bReplaceSourceActors,
    FText* OutResultsText
)

Merges static mesh components into a single actor with multiple instanced static mesh components

Public function Const

void

 

MergeComponentsToStaticMesh

(
    const TArray< UPrimitiveComponent&...,
    UWorld* World,
    const FMeshMergingSettings& InSett...,
    UMaterialInterface* InBaseMate...,
    UPackage* InOuter,
    const FString& InBasePackageName,
    TArray< UObject* >& OutAssets...,
    FVector& OutMergedActorLocation,
    const float ScreenSize,
    bool bSilent
)

Merges components into a single Static Mesh (with possible baked out atlas-material)

Public function

void

 

RegisterExtension

(
    IMeshMergeExtension* InExtensi...
)

Public function Const

void

 

RetrieveMeshDescription

(
    const UStaticMeshComponent* In...,
    int32 LODIndex,
    FMeshDescription& InOutMeshDescrip...,
    bool bPropagateVertexColours
)

Extract mesh data in FMeshDescription form from the provided static mesh component

Public function Const

void

 

RetrieveMeshDescription

(
    const UStaticMesh* InStaticMes...,
    int32 LODIndex,
    FMeshDescription& InOutMeshDescrip...
)

Extract mesh data in FMeshDescription form from the provided static mesh

Public function Const

void

 

RetrieveMeshDescription

(
    const USkeletalMeshComponent* ...,
    int32 LODIndex,
    FMeshDescription& InOutMeshDescrip...,
    bool bPropagateVertexColours
)

Extract mesh data in FMeshDescription form from the provided skeletal mesh component

Public function Const

void

 

RetrievePhysicsData

(
    const TArray< UPrimitiveComponent&...,
    TArray< FKAggregateGeom >& InOutPh...,
    UBodySetup*& OutBodySetupSourc...
)

Extract physics geometry and body setup from set of primitive components.

Public function

void

 

UnregisterExtension

(
    IMeshMergeExtension* InExtensi...
)

Deprecated Functions

Name Description

Public function Const

bool

 

IsValidBaseMaterial

(
    const UMaterialInterface* InBa...,
    bool bShowToaster
)

Use FMaterialUtilities::IsValidFlattenMaterial()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel