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

Struct containing information for a particular LOD level, such as materials and info for when to use it. 更多...

#include <SkeletalMesh.h>

Public 属性

class UAnimSequence * BakePose
 Pose which should be used to reskin vertex influences for which the bones will be removed in this LOD level, uses ref-pose by default
 
class UAnimSequence * BakePoseOverride
 This is used when you are sharing the LOD settings, but you'd like to override the BasePose. 更多...
 
uint8 bAllowCPUAccess: 1
 Keeps this LODs data on the CPU so it can be used for things such as sampling in FX.
 
uint8 bHasBeenSimplified:1
 Whether to disable morph targets for this LOD.
 
TArray< FBoneReference > BonesToPrioritize
 Bones which should be prioritized for the quality, this will be weighted toward keeping source data.
 
TArray< FBoneReference > BonesToRemove
 Bones which should be removed from the skeleton for the LOD level
 
uint8 bSupportUniformlyDistributedSampling: 1
 Mesh supports uniformly distributed sampling in constant time. 更多...
 
FSkeletalMeshBuildSettings BuildSettings
 build settings to apply when building render data.
 
float LODHysteresis
 Used to avoid 'flickering' when on LOD boundary. 更多...
 
TArray< int32 > LODMaterialMap
 Mapping table from this LOD's materials to the USkeletalMesh materials array. 更多...
 
FSkeletalMeshOptimizationSettings ReductionSettings
 Reduction settings to apply when building render data.
 
FPerPlatformFloat ScreenSize
 ScreenSize to display this LOD. 更多...
 
ESkinCacheUsage SkinCacheUsage = ESkinCacheUsage::Auto
 How this LOD uses the skin cache feature. 更多...
 
FString SourceImportFilename
 The filename of the file tha was used to import this LOD if it was not auto generated.
 
float WeightOfPrioritization
 How much to consideration to give BonesToPrioritize. 更多...
 

详细描述

Struct containing information for a particular LOD level, such as materials and info for when to use it.

类成员变量说明

◆ BakePoseOverride

class UAnimSequence* FSkeletalMeshLODInfo::BakePoseOverride

This is used when you are sharing the LOD settings, but you'd like to override the BasePose.

This precedes prior to BakePose

◆ bSupportUniformlyDistributedSampling

uint8 FSkeletalMeshLODInfo::bSupportUniformlyDistributedSampling

Mesh supports uniformly distributed sampling in constant time.

Memory cost is 8 bytes per triangle. Example usage is uniform spawning of particles.

◆ LODHysteresis

float FSkeletalMeshLODInfo::LODHysteresis

Used to avoid 'flickering' when on LOD boundary.

Only taken into account when moving from complex->simple.

◆ LODMaterialMap

TArray<int32> FSkeletalMeshLODInfo::LODMaterialMap

Mapping table from this LOD's materials to the USkeletalMesh materials array.

section index is the key remapped material index is the value, can be INDEX_NONE for no remapping

◆ ScreenSize

FPerPlatformFloat FSkeletalMeshLODInfo::ScreenSize

ScreenSize to display this LOD.

The screen size is based around the projected diameter of the bounding sphere of the model. i.e. 0.5 means half the screen's maximum dimension.

◆ SkinCacheUsage

ESkinCacheUsage FSkeletalMeshLODInfo::SkinCacheUsage = ESkinCacheUsage::Auto

How this LOD uses the skin cache feature.

Auto will defer to the default project global option. If Ray Tracing is enabled, will imply Enabled

◆ WeightOfPrioritization

float FSkeletalMeshLODInfo::WeightOfPrioritization

How much to consideration to give BonesToPrioritize.

The weight is an additional vertex simplification penalty where 0 means nothing.


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