Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleLODLevel
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/ParticleLODLevel.h |
| Include | #include "Particles/ParticleLODLevel.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, EditInlineNew, MinimalAPI)
class UParticleLODLevel : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bEnabled | True if the LOD level is enabled, meaning it should be updated and rendered. | |
| uint32: 1 | ConvertedModules | ||
| TObjectPtr< class UParticleModuleEventGenerator > | EventGenerator | The optional EventGenerator module. | |
| TArray< TObjectPtr< class UParticleModuleEventReceiverBase > > | EventReceiverModules | Event receiver modules only! | |
| int32 | Level | The index value of the LOD level | |
| TArray< TObjectPtr< class UParticleModule > > | Modules | An array of particle modules that contain the adjusted data for the LOD level | |
| TArray< TObjectPtr< class UParticleModuleOrbit > > | OrbitModules | OrbitModules These are used to do offsets of the sprite from the particle location. | |
| int32 | PeakActiveParticles | ||
| TObjectPtr< class UParticleModuleRequired > | RequiredModule | The required module for this LOD level | |
| TArray< TObjectPtr< class UParticleModuleSpawnBase > > | SpawningModules | SpawningModules - These are called to determine how many particles to spawn. | |
| TObjectPtr< class UParticleModuleSpawn > | SpawnModule | The SpawnRate/Burst module - required by all emitters. | |
| TArray< TObjectPtr< class UParticleModule > > | SpawnModules | SpawnModules - These are called when particles are spawned. | |
| TObjectPtr< class UParticleModuleTypeDataBase > | TypeDataModule | Module |
|
| TArray< TObjectPtr< class UParticleModule > > | UpdateModules | UpdateModules - These are called when particles are updated. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UParticleLODLevel
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCurvesToEditor
(
UInterpCurveEdSetup* EdSetup |
For Cascade. | |
| int32 | CalculateMaxActiveParticleCount Determine the maximum active particles that could occur with this emitter. | ||
| void | ChangeEditorColor
(
FColor& Color, |
||
| void | CompileModules
(
FParticleEmitterBuildInfo& EmitterBuildInfo |
Compiles all modules for this LOD level. | |
| void | Update to the new SpawnModule method | ||
| bool | GenerateFromLODLevel
(
UParticleLODLevel* SourceLODLevel, |
||
| UParticleModule * | GetModuleAtIndex
(
int32 InIndex |
||
| int32 | GetModuleIndex
(
UParticleModule* InModule |
||
| void | GetStreamingMeshInfo
(
const FBoxSphereBounds& Bounds, |
Appends information on streaming meshes | |
| void | GetUsedMaterials
(
TArray< UMaterialInterface* >& OutMaterials, |
Append all used materials to the material list. | |
| bool | IsModuleEditable
(
UParticleModule* InModule |
Return true if the given module is editable for this LOD level. | |
| void | RemoveCurvesFromEditor
(
UInterpCurveEdSetup* EdSetup |
||
| void | SetLevelIndex
(
int32 InLevelIndex |
Sets the LOD 'Level' to the given value, properly updating the modules LOD validity settings. | |
| void |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Called during async load to determine if PostLoad can be called on the loading thread. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |