Navigation
API > API/Runtime > API/Runtime/Engine
Map containing per-section settings for each section of each LOD.
| Name | FMeshSectionInfoMap |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/StaticMesh.h |
| Include Path | #include "Engine/StaticMesh.h" |
Syntax
USTRUCT ()
struct FMeshSectionInfoMap
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Map | TMap< uint32, FMeshSectionInfo > | Maps an LOD+Section to the material it should render with. | Engine/StaticMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AnySectionHasCollision
(
int32 LodIndex |
Returns true if any section of the specified LOD has collision enabled. | Engine/StaticMesh.h | |
void Clear() |
Clears all entries in the map resetting everything to default. | Engine/StaticMesh.h | |
void CopyFrom
(
const FMeshSectionInfoMap& Other |
Copies per-section settings from the specified section info map. | Engine/StaticMesh.h | |
FMeshSectionInfo Get
(
int32 LODIndex, |
Gets per-section settings for the specified LOD + section. | Engine/StaticMesh.h | |
int32 GetSectionNumber
(
int32 LODIndex |
Get the number of section for a LOD. | Engine/StaticMesh.h | |
bool IsValidSection
(
int32 LODIndex, |
Return true if the section exist, false otherwise. | Engine/StaticMesh.h | |
void Remove
(
int32 LODIndex, |
Resets per-section settings for the specified LOD + section to defaults. | Engine/StaticMesh.h | |
void Serialize
(
FArchive& Ar |
Serialize. | Engine/StaticMesh.h | |
void Set
(
int32 LODIndex, |
Sets per-section settings for the specified LOD + section. | Engine/StaticMesh.h |