engine
 
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
FSkeletalMeshOptimizationSettings结构体 参考

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

#include <SkeletalMeshReductionSettings.h>

Public 属性

int32 BaseLOD
 Base LOD index to generate this LOD. 更多...
 
uint8 bEnforceBoneBoundaries: 1
 Penalize edge collapse between vertices that have different major bones. 更多...
 
uint8 bLockColorBounaries: 1
 Disallow edge collapse when the vertices do not have a common color
 
uint8 bLockEdges: 1
 Preserve cuts in the mesh surface by locking vertices in place. 更多...
 
uint8 bRecalcNormals:1
 Whether Normal smoothing groups should be preserved. 更多...
 
int32 MaxBonesPerVertex
 Maximum number of bones that can be assigned to each vertex.
 
float MaxDeviationPercentage
 If ReductionMethod equals MaxDeviation this value is the maximum deviation from the base mesh as a percentage of the bounding sphere. 更多...
 
uint32 MaxNumOfTriangles
 The maximum number of triangles to retain
 
uint32 MaxNumOfVerts
 The maximum number of vertices to retain
 
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. 更多...
 
float NumOfTrianglesPercentage
 The percentage of triangles to retain as a ratio, e.g. 更多...
 
float NumOfVertPercentage
 The percentage of vertices to retain as a ratio, e.g. 更多...
 
TEnumAsByte< enum SkeletalMeshOptimizationType > ReductionMethod
 The method to use when optimizing the skeletal mesh LOD
 
TEnumAsByte< enum SkeletalMeshOptimizationImportance > ShadingImportance
 How important shading quality is.
 
TEnumAsByte< enum SkeletalMeshOptimizationImportance > SilhouetteImportance
 How important the shape of the geometry is.
 
TEnumAsByte< enum SkeletalMeshOptimizationImportance > SkinningImportance
 How important skinning quality is.
 
TEnumAsByte< enum SkeletalMeshTerminationCriterion > TerminationCriterion
 The method to use when optimizing the skeletal mesh LOD
 
TEnumAsByte< enum SkeletalMeshOptimizationImportance > TextureImportance
 How important texture density is.
 
float VolumeImportance
 Default value of 1 attempts to preserve volume. 更多...
 
float WeldingThreshold
 The welding threshold distance. 更多...
 

详细描述

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

类成员变量说明

◆ BaseLOD

int32 FSkeletalMeshOptimizationSettings::BaseLOD

Base LOD index to generate this LOD.

By default, we generate from LOD 0

◆ bEnforceBoneBoundaries

uint8 FSkeletalMeshOptimizationSettings::bEnforceBoneBoundaries

Penalize edge collapse between vertices that have different major bones.

This will help articulated segments like tongues but can lead to undesirable results under extreme simplification

◆ bLockEdges

uint8 FSkeletalMeshOptimizationSettings::bLockEdges

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

Increases the quality of the simplified mesh at edges at the cost of more triangles

◆ bRecalcNormals

uint8 FSkeletalMeshOptimizationSettings::bRecalcNormals

Whether Normal smoothing groups should be preserved.

If true then Hard Edge Angle (NormalsThreshold) is used

◆ MaxDeviationPercentage

float FSkeletalMeshOptimizationSettings::MaxDeviationPercentage

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

In code, it ranges from [0, 1]. In the editor UI, it ranges from [0, 100]

◆ NormalsThreshold

float FSkeletalMeshOptimizationSettings::NormalsThreshold

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

Set in degrees. This is only used when bRecalcNormals is set to true

◆ NumOfTrianglesPercentage

float FSkeletalMeshOptimizationSettings::NumOfTrianglesPercentage

The percentage of triangles to retain as a ratio, e.g.

0.1 indicates 10 percent

◆ NumOfVertPercentage

float FSkeletalMeshOptimizationSettings::NumOfVertPercentage

The percentage of vertices to retain as a ratio, e.g.

0.1 indicates 10 percent

◆ VolumeImportance

float FSkeletalMeshOptimizationSettings::VolumeImportance

Default value of 1 attempts to preserve volume.

Smaller values will loose volume by flattening curved surfaces, and larger values will accentuate curved surfaces.

◆ WeldingThreshold

float FSkeletalMeshOptimizationSettings::WeldingThreshold

The welding threshold distance.

Vertices under this distance will be welded.


该结构体的文档由以下文件生成: