FMeshSectionInfoMap

Map containing per-section settings for each section of each LOD.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h

Include

#include "Engine/StaticMesh.h"

Syntax

struct FMeshSectionInfoMap

Remarks

Map containing per-section settings for each section of each LOD.

Variables

Name Description

Public variable

TMap< uint32, F...

 

Map

Maps an LOD+Section to the material it should render with.

Functions

Name Description

Public function Const

bool

 

AnySectionHasCollision

(
    int32 LodIndex
)

Returns true if any section of the specified LOD has collision enabled.

Public function

void

 

Clear()

Clears all entries in the map resetting everything to default.

Public function

void

 

CopyFrom

(
    const FMeshSectionInfoMap& Other
)

Copies per-section settings from the specified section info map.

Public function Const

FMeshSection...

 

Get

(
    int32 LODIndex,
    int32 SectionIndex
)

Gets per-section settings for the specified LOD + section.

Public function Const

int32

 

GetSectionNumber

(
    int32 LODIndex
)

Get the number of section for a LOD.

Public function Const

bool

 

IsValidSection

(
    int32 LODIndex,
    int32 SectionIndex
)

Return true if the section exist, false otherwise.

Public function

void

 

Remove

(
    int32 LODIndex,
    int32 SectionIndex
)

Resets per-section settings for the specified LOD + section to defaults.

Public function

void

 

Serialize

(
    FArchive& Ar
)

Serialize.

Public function

void

 

Set

(
    int32 LODIndex,
    int32 SectionIndex,
    FMeshSectionInfo Info
)

Sets per-section settings for the specified LOD + section.

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