Navigation
API > API/Editor > API/Editor/UnrealEd
Sets or gets the various LOD levels associated with the controller. Used especially for asset viewports.
| Name | IPreviewLODController |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/IPreviewLODController.h |
| Include Path | #include "IPreviewLODController.h" |
Syntax
class IPreviewLODController
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IPreviewLODController() |
IPreviewLODController.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FillLODCommands
(
TArray< TSharedPtr< FUICommandInfo > >& Commands |
Provide LOD commands that should be included before any auto-generated LOD menu items. | IPreviewLODController.h | |
virtual int32 GetAutoLODStartingIndex () |
Set which LOD level an auto-generated list of LOD options should start from. | IPreviewLODController.h | |
int32 GetCurrentLOD() |
Gets the current LOD. A value of INDEX_NONE implies an 'Auto' LOD. | IPreviewLODController.h | |
int32 GetLODCount() |
Gets the number of LODs currently supported. | IPreviewLODController.h | |
bool IsLODSelected
(
int32 LODIndex |
Gets whether a given LOD is active. | IPreviewLODController.h | |
void SetLODLevel
(
int32 LODIndex |
Sets the LOD level by index. A value of INDEX_NONE implies an 'Auto' LOD. | IPreviewLODController.h |