UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ParticleLODLevel.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
8#pragma once
9
10#include "CoreMinimal.h"
12#include "UObject/Object.h"
13#include "ParticleLODLevel.generated.h"
14
16class UParticleModule;
19
20UCLASS(collapsecategories, hidecategories=Object, editinlinenew, MinimalAPI)
22{
24
25
26 UPROPERTY()
27 int32 Level;
28
30 UPROPERTY()
31 uint32 bEnabled:1;
32
36
40
41 // Module<SINGULAR> used for emitter type "extension".
44
48
52
56
60
64
70
74
75 UPROPERTY()
76 uint32 ConvertedModules:1;
77
78 UPROPERTY()
79 int32 PeakActiveParticles;
80
81
82 //~ Begin UObject Interface
83 virtual void PostLoad() override;
84 virtual bool IsPostLoadThreadSafe() const override;
85 //~ End UObject Interface
86
87 // @todo document
88 virtual void UpdateModuleLists();
89
90 // @todo document
91 virtual bool GenerateFromLODLevel(UParticleLODLevel* SourceLODLevel, float Percentage, bool bGenerateModuleData = true);
92
100 virtual int32 CalculateMaxActiveParticleCount();
101
103 void ConvertToSpawnModule();
104
106 int32 GetModuleIndex(UParticleModule* InModule);
107
109 ENGINE_API UParticleModule* GetModuleAtIndex(int32 InIndex);
110
117 virtual void SetLevelIndex(int32 InLevelIndex);
118
119 // For Cascade
120 void AddCurvesToEditor(UInterpCurveEdSetup* EdSetup);
121 void RemoveCurvesFromEditor(UInterpCurveEdSetup* EdSetup);
122 void ChangeEditorColor(FColor& Color, UInterpCurveEdSetup* EdSetup);
123
131 ENGINE_API bool IsModuleEditable(UParticleModule* InModule);
132
137 void CompileModules( struct FParticleEmitterBuildInfo& EmitterBuildInfo );
138
146
153};
154
155
156
virtual bool IsPostLoadThreadSafe() const override
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
@ Percentage
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition Array.h:670
Definition InterpCurveEdSetup.h:105
Definition MaterialInterface.h:296
Definition Object.h:95
Definition ParticleLODLevel.h:22
Definition ParticleModule.h:149
Definition Color.h:486
Definition ParticleEmitterInstances.h:78
Definition TextureStreamingTypes.h:37
FBoxSphereBounds Bounds
Definition TextureStreamingTypes.h:50
Definition ObjectPtr.h:488
Definition BoxSphereBounds.h:25