Navigation
API > API/Plugins > API/Plugins/CustomizableObject
| Name | UCustomizableInstanceLODManagement |
| Type | class |
| Header File | /Engine/Plugins/Mutable/Source/CustomizableObject/Public/MuCO/CustomizableInstanceLODManagement.h |
| Include Path | #include "MuCO/CustomizableInstanceLODManagement.h" |
Syntax
UCLASS (MinimalAPI, Blueprintable, BlueprintType)
class UCustomizableInstanceLODManagement : public UCustomizableInstanceLODManagementBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UCustomizableInstanceLODManagementBase → UCustomizableInstanceLODManagement
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCustomizableInstanceLODManagement() |
MuCO/CustomizableInstanceLODManagement.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~UCustomizableInstanceLODManagement() |
MuCO/CustomizableInstanceLODManagement.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CloseCustomizableObjectsDist | float | MuCO/CustomizableInstanceLODManagement.h | ||
| NumPriorityUpdateInstances | int32 | Sets how many of the nearest instances to the player will have updates with priority over LOD changes. | MuCO/CustomizableInstanceLODManagement.h | |
| ViewCenters | TSet< TWeakObjectPtr< const AActor > > | The list of actors that define a view radius (CloseDist) around them used for LOD management. | MuCO/CustomizableInstanceLODManagement.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddViewCenter
(
const AActor*const InCentralActor |
Used to define the actors that will be considered the centers of LOD distance calculations. If left empty it will revert to the default, the first player controller actor. | MuCO/CustomizableInstanceLODManagement.h | |
void ClearViewCenters() |
MuCO/CustomizableInstanceLODManagement.h | ||
int32 GetNumberOfPriorityUpdateInstances() |
MuCO/CustomizableInstanceLODManagement.h | ||
void RemoveViewCenter
(
const AActor*const InCentralActor |
MuCO/CustomizableInstanceLODManagement.h | ||
virtual void SetCustomizableObjectsUpdateDistance
(
float Distance |
MuCO/CustomizableInstanceLODManagement.h | ||
void SetNumberOfPriorityUpdateInstances
(
int32 NumPriorityUpdateInstances |
Sets how many of the nearest instances to the player will have updates with priority over LOD changes, only works if LODs are enabled with b.NumGeneratedInstancesLimitLODs. | MuCO/CustomizableInstanceLODManagement.h |
Overridden from UCustomizableInstanceLODManagementBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetNumGeneratedInstancesLimitFullLODs() |
MuCO/CustomizableInstanceLODManagement.h | ||
virtual int32 GetNumGeneratedInstancesLimitLOD1() |
MuCO/CustomizableInstanceLODManagement.h | ||
virtual int32 GetNumGeneratedInstancesLimitLOD2() |
MuCO/CustomizableInstanceLODManagement.h | ||
virtual float GetOnlyUpdateCloseCustomizableObjectsDist() |
MuCO/CustomizableInstanceLODManagement.h | ||
virtual bool IsOnlyGenerateRequestedLODLevelsEnabled() |
MuCO/CustomizableInstanceLODManagement.h | ||
virtual bool IsOnlyUpdateCloseCustomizableObjectsEnabled() |
MuCO/CustomizableInstanceLODManagement.h | ||
virtual void UpdateInstanceDistsAndLODs
(
FMutableInstanceUpdateMap& InOutRequestedUpdates |
WARNING! The following methods must be overriden in derived classes. | MuCO/CustomizableInstanceLODManagement.h |