Navigation
API > API/Runtime > API/Runtime/Engine
Per-group LOD settings for static meshes.
| Name | FStaticMeshLODSettings |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
| Include Path | #include "StaticMeshResources.h" |
Syntax
class FStaticMeshLODSettings
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GroupName2Index | TMap< FName, int32 > | For fast index lookup. Must not change after initialization | StaticMeshResources.h | |
| Groups | TMap< FName, FStaticMeshLODGroup > | Per-group settings. | StaticMeshResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FStaticMeshLODGroup & GetLODGroup
(
FName LODGroup |
Retrieve the settings for the specified LOD group. | StaticMeshResources.h | |
| Retrieves the localized display names of all LOD groups. | StaticMeshResources.h | ||
int32 GetLODGroupIdx
(
FName GroupName |
StaticMeshResources.h | ||
| Retrieve the names of all defined LOD groups. | StaticMeshResources.h | ||
void Initialize
(
const ITargetPlatform* TargetPlatform |
Initializes LOD settings by reading them from the passed in config file section. | StaticMeshResources.h | |
void Initialize
(
const ITargetPlatformSettings* TargetPlatform |
StaticMeshResources.h |