IMeshReduction

Mesh reduction interface.

Windows
MacOS
Linux

References

Module

MeshReductionInterface

Header

/Engine/Source/Developer/MeshReductionInterface/Public/IMeshReductionInterfaces.h

Include

#include "IMeshReductionInterfaces.h"

Syntax

class IMeshReduction

Remarks

Mesh reduction interface.

Destructors

Name Description

Public function Virtual

~IMeshReduction()

Functions

Name Description

Public function Const

const FStrin...

 

GetVersionString()

Returns a unique string identifying both the reduction plugin itself and the version of the plugin.

Public function Const

bool

 

IsReductionActive

(
    const FMeshReductionSettings& Redu...
)

Returns true if mesh reduction is active.

Public function Const

bool

 

IsReductionActive

(
    const FSkeletalMeshOptimizationSett...
)

Public function Const

bool

 

IsReductionActive

(
    const FSkeletalMeshOptimizationSett...,
    uint32 NumVertices,
    uint32 NumTriangles
)

Public function Const

bool

 

IsSupported()

Returns true if mesh reduction is supported

Public function

void

 

ReduceMeshDescription

(
    FMeshDescription& OutReducedMesh,
    float& OutMaxDeviation,
    const FMeshDescription& InMesh,
    const FOverlappingCorners& InOverl...,
    const FMeshReductionSettings& Redu...
)

Reduces the raw mesh using the provided reduction settings.

Public function

bool

 

ReduceSkeletalMesh

(
    USkeletalMesh* SkeletalMesh,
    int32 LODIndex,
    const ITargetPlatform* TargetP...
)

Reduces the provided skeletal mesh.

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