Navigation
API > API/Runtime > API/Runtime/Engine
The LOD settings to use for a group of static meshes.
| Name | FStaticMeshLODGroup |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/StaticMeshResources.h |
| Include Path | #include "StaticMeshResources.h" |
Syntax
class FStaticMeshLODGroup
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStaticMeshLODGroup() |
Default values. | StaticMeshResources.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BasePercentTrianglesMult | float | An additional reduction of base meshes in this group. | StaticMeshResources.h | |
| BasePercentVerticesMult | float | An additional reduction of base meshes in this group. | StaticMeshResources.h | |
| bSupportLODStreaming | bool | Whether static meshes in this LOD group can be streamed. | StaticMeshResources.h | |
| DefaultLightMapResolution | int32 | Default lightmap resolution. | StaticMeshResources.h | |
| DefaultMaxNumOptionalLODs | int32 | Maximum number of optional LODs (currently, need to be either 0 or > max number of LODs below MinLOD) | StaticMeshResources.h | |
| DefaultMaxNumStreamedLODs | int32 | Maximum number of streamed LODs | StaticMeshResources.h | |
| DefaultNumLODs | int32 | The default number of LODs to build. | StaticMeshResources.h | |
| DefaultSettings | FMeshReductionSettings | Default reduction settings for meshes in this group. | StaticMeshResources.h | |
| DisplayName | FText | Display name. | StaticMeshResources.h | |
| SettingsBias | FMeshReductionSettings | Biases applied to reduction settings. | StaticMeshResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetDefaultLightMapResolution() |
Returns the default lightmap resolution. | StaticMeshResources.h | |
int32 GetDefaultMaxNumOptionalLODs() |
Returns the default maximum of optional LODs | StaticMeshResources.h | |
int32 GetDefaultMaxNumStreamedLODs() |
Returns the default maximum of streamed LODs | StaticMeshResources.h | |
int32 GetDefaultNumLODs() |
Returns the default number of LODs to build. | StaticMeshResources.h | |
FMeshReductionSettings GetDefaultSettings
(
int32 LODIndex |
Returns default reduction settings for the specified LOD. | StaticMeshResources.h | |
FMeshReductionSettings GetSettings
(
const FMeshReductionSettings& InSettings, |
Applies global settings tweaks for the specified LOD. | StaticMeshResources.h | |
bool IsLODStreamingSupported() |
Returns whether this LOD group supports LOD streaming. | StaticMeshResources.h |