FSkeletalMeshOptimizationSettings

[FSkeletalMeshOptimizationSettings](API\Runtime\Engine\FSkeletalMeshOptimizationSetting-) - The settings used to optimize a skeletal mesh LOD.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SkeletalMeshReductionSettings.h

Include

#include "SkeletalMeshReductionSettings.h"

Syntax

struct FSkeletalMeshOptimizationSettings

Remarks

FSkeletalMeshOptimizationSettings - The settings used to optimize a skeletal mesh LOD.

Variables

Name Description

Public variable

int32

 

BaseLOD

Base LOD index to generate this LOD. By default, we generate from LOD 0

Public variable

uint8: 1

 

bEnforceBoneBoundaries

Penalize edge collapse between vertices that have different major bones.

Public variable

uint8: 1

 

bLockEdges

Preserve cuts in the mesh surface by locking vertices in place.

Public variable

uint8: 1

 

bRecalcNormals

Whether Normal smoothing groups should be preserved.

Public variable

uint8: 1

 

bRemapMorphTargets

Remap the morph targets from the base LOD onto the reduce LOD.

Public variable

int32

 

MaxBonesPerVertex

Maximum number of bones that can be assigned to each vertex.

Public variable

float

 

MaxDeviationPercentage

If ReductionMethod equals MaxDeviation this value is the maximum deviation from the base mesh as a percentage of the bounding sphere.

Public variable

uint32

 

MaxNumOfTriangles

The maximum number of triangles to retain

Public variable

uint32

 

MaxNumOfVerts

The maximum number of vertices to retain

Public variable

float

 

NormalsThreshold

If the angle between two triangles are above this value, the normals will not be smooth over the edge between those two triangles.

Public variable

float

 

NumOfTrianglesPercentage

The percentage of triangles to retain as a ratio, e.g. 0.1 indicates 10 percent

Public variable

float

 

NumOfVertPercentage

The percentage of vertices to retain as a ratio, e.g. 0.1 indicates 10 percent

Public variable

TEnumAsByte< en...

 

ReductionMethod

The method to use when optimizing the skeletal mesh LOD

Public variable

TEnumAsByte< en...

 

ShadingImportance

How important shading quality is.

Public variable

TEnumAsByte< en...

 

SilhouetteImportance

How important the shape of the geometry is.

Public variable

TEnumAsByte< en...

 

SkinningImportance

How important skinning quality is.

Public variable

TEnumAsByte< en...

 

TerminationCriterion

The method to use when optimizing the skeletal mesh LOD

Public variable

TEnumAsByte< en...

 

TextureImportance

How important texture density is.

Public variable

float

 

VolumeImportance

Default value of 1 attempts to preserve volume.

Public variable

float

 

WeldingThreshold

The welding threshold distance. Vertices under this distance will be welded.

Constructors

Deprecated Variables

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback