Navigation
API > API/Runtime > API/Runtime/Engine
A set of skeletal mesh triangles which use the same material
| Name | FSkelMeshSection |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Rendering/SkeletalMeshLODModel.h |
| Include Path | #include "Rendering/SkeletalMeshLODModel.h" |
Syntax
struct FSkelMeshSection
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSkelMeshSection() |
Rendering/SkeletalMeshLODModel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BaseIndex | uint32 | The offset of this section's indices in the LOD's index buffer. | Rendering/SkeletalMeshLODModel.h | |
| BaseVertexIndex | uint32 | The offset into the LOD's vertex buffer of this section's vertices. | Rendering/SkeletalMeshLODModel.h | |
| bCastShadow | bool | This section will cast shadow | Rendering/SkeletalMeshLODModel.h | |
| bDisabled | bool | If disabled, we won't render this section | Rendering/SkeletalMeshLODModel.h | |
| BoneMap | TArray< FBoneIndexType > | The bones which are used by the vertices of this section. | Rendering/SkeletalMeshLODModel.h | |
| bRecomputeTangent | bool | This section will recompute tangent in runtime | Rendering/SkeletalMeshLODModel.h | |
| bSelected | uint8 | Is this mesh selected? | Rendering/SkeletalMeshLODModel.h | |
| bUse16BitBoneIndex | bool | Whether to store bone indices as 16 bit or 8 bit in vertex buffer for rendering. | Rendering/SkeletalMeshLODModel.h | |
| bVisibleInRayTracing | bool | If true, this section will be visible in ray tracing effects. | Rendering/SkeletalMeshLODModel.h | |
| ChunkedParentSectionIndex | int32 | If this section was produce because of BONE chunking, the parent section index will be valid. | Rendering/SkeletalMeshLODModel.h | |
| ClothingData | FClothingSectionData | Clothing data for this section, clothing is only present if ClothingData.IsValid() returns true | Rendering/SkeletalMeshLODModel.h | |
| ClothMappingDataLODs | TArray< TArray< FMeshToMeshVertData > > | The cloth deformer mapping data to each required cloth LOD. | Rendering/SkeletalMeshLODModel.h | |
| CorrespondClothAssetIndex | int16 | INDEX_NONE if not set. | Rendering/SkeletalMeshLODModel.h | |
| GenerateUpToLodIndex | int32 | The LOD index at which any generated lower quality LODs will include this section. | Rendering/SkeletalMeshLODModel.h | |
| MaterialIndex | uint16 | Material (texture) used for this section. | Rendering/SkeletalMeshLODModel.h | |
| MaxBoneInfluences | int32 | Max # of bones used to skin the vertices in this section | Rendering/SkeletalMeshLODModel.h | |
| NumTriangles | uint32 | The number of triangles in this section. | Rendering/SkeletalMeshLODModel.h | |
| NumVertices | int32 | Number of vertices in this section (size of SoftVertices array). Available in non-editor builds. | Rendering/SkeletalMeshLODModel.h | |
| OriginalDataSectionIndex | int32 | This represent the original section index in the imported data. | Rendering/SkeletalMeshLODModel.h | |
| OverlappingVertices | TMap< int32, TArray< int32 > > | Map between a vertex index and all vertices that share the same position | Rendering/SkeletalMeshLODModel.h | |
| RecomputeTangentsVertexMaskChannel | ESkinVertexColorChannel | Vertex color channel to mask recompute tangents. R=0,G=1,B=2,A=None=3 | Rendering/SkeletalMeshLODModel.h | |
| SoftVertices | TArray< FSoftSkinVertex > | The soft vertices of this section. | Rendering/SkeletalMeshLODModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CalcMaxBoneInfluences () |
Calculate max # of bone influences used by this skel mesh section | Rendering/SkeletalMeshLODModel.h | |
void CalcUse16BitBoneIndex() |
Calculate if this skel mesh section needs 16-bit bone indices | Rendering/SkeletalMeshLODModel.h | |
int32 GetMaxBoneInfluences() |
Rendering/SkeletalMeshLODModel.h | ||
int32 GetNumVertices() |
Rendering/SkeletalMeshLODModel.h | ||
int32 GetVertexBufferIndex() |
Rendering/SkeletalMeshLODModel.h | ||
bool HasClothingData() |
Rendering/SkeletalMeshLODModel.h | ||
bool Use16BitBoneIndex() |
Rendering/SkeletalMeshLODModel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DeclareCustomVersions
(
FArchive& Ar |
Rendering/SkeletalMeshLODModel.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bLegacyClothingSection_DEPRECATED | bool | This is set for old 'duplicate' sections that need to get removed on load | Rendering/SkeletalMeshLODModel.h | |
| CorrespondClothSectionIndex_DEPRECATED | int16 | Corresponding Section Index will be enabled when this section is disabled because corresponding cloth section will be shown instead of this or disabled section index when this section is enabled for cloth simulation | Rendering/SkeletalMeshLODModel.h |