![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <StaticMesh.h>
Public Member Functions | |
| void | Serialize (FArchive &Ar) |
| ENGINE_API void | Clear () |
| ENGINE_API int32 | GetSectionNumber (int32 LODIndex) const |
| ENGINE_API bool | IsValidSection (int32 LODIndex, int32 SectionIndex) const |
| ENGINE_API FMeshSectionInfo | Get (int32 LODIndex, int32 SectionIndex) const |
| ENGINE_API void | Set (int32 LODIndex, int32 SectionIndex, FMeshSectionInfo Info) |
| ENGINE_API void | Remove (int32 LODIndex, int32 SectionIndex) |
| ENGINE_API void | CopyFrom (const FMeshSectionInfoMap &Other) |
| bool | AnySectionHasCollision (int32 LodIndex) const |
Public Attributes | |
| TMap< uint32, FMeshSectionInfo > | Map |
Map containing per-section settings for each section of each LOD.
Returns true if any section of the specified LOD has collision enabled.
| ENGINE_API void FMeshSectionInfoMap::Clear | ( | ) |
Clears all entries in the map resetting everything to default.
| ENGINE_API void FMeshSectionInfoMap::CopyFrom | ( | const FMeshSectionInfoMap & | Other | ) |
Copies per-section settings from the specified section info map.
| ENGINE_API FMeshSectionInfo FMeshSectionInfoMap::Get | ( | int32 | LODIndex, |
| int32 | SectionIndex | ||
| ) | const |
Gets per-section settings for the specified LOD + section.
| ENGINE_API int32 FMeshSectionInfoMap::GetSectionNumber | ( | int32 | LODIndex | ) | const |
Get the number of section for a LOD.
| ENGINE_API bool FMeshSectionInfoMap::IsValidSection | ( | int32 | LODIndex, |
| int32 | SectionIndex | ||
| ) | const |
Return true if the section exist, false otherwise.
| ENGINE_API void FMeshSectionInfoMap::Remove | ( | int32 | LODIndex, |
| int32 | SectionIndex | ||
| ) |
Resets per-section settings for the specified LOD + section to defaults.
| ENGINE_API void FMeshSectionInfoMap::Set | ( | int32 | LODIndex, |
| int32 | SectionIndex, | ||
| FMeshSectionInfo | Info | ||
| ) |
Sets per-section settings for the specified LOD + section.
| TMap<uint32,FMeshSectionInfo> FMeshSectionInfoMap::Map |
Maps an LOD+Section to the material it should render with.