UParticleLODLevel

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/ParticleLODLevel.h

Include

#include "Particles/ParticleLODLevel.h"

Syntax

class UParticleLODLevel : public UObject

Variables

Name Description

Public variable

uint32: 1

 

bEnabled

True if the LOD level is enabled, meaning it should be updated and rendered.

Public variable

uint32: 1

 

ConvertedModules

Public variable

UParticleModule...

 

EventGenerator

The optional EventGenerator module.

Public variable

TArray< class U...

 

EventReceiverModules

Event receiver modules only!

Public variable

int32

 

Level

The index value of the LOD level

Public variable

TArray< class U...

 

Modules

An array of particle modules that contain the adjusted data for the LOD level

Public variable

TArray< class U...

 

OrbitModules

OrbitModules These are used to do offsets of the sprite from the particle location.

Public variable

int32

 

PeakActiveParticles

Public variable

UParticleModule...

 

RequiredModule

The required module for this LOD level

Public variable

TArray< class U...

 

SpawningModules

SpawningModules - These are called to determine how many particles to spawn.

Public variable

UParticleModule...

 

SpawnModule

The SpawnRate/Burst module - required by all emitters.

Public variable

TArray< class U...

 

SpawnModules

SpawnModules - These are called when particles are spawned.

Public variable

UParticleModule...

 

TypeDataModule

Module used for emitter type "extension".

Public variable

TArray< class U...

 

UpdateModules

UpdateModules - These are called when particles are updated.

Constructors

Name Description

Public function

UParticleLODLevel

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddCurvesToEditor

(
    UInterpCurveEdSetup* EdSetup
)

For Cascade.

Public function Virtual

int32

 

CalculateMaxActiveParticleCount()

CalculateMaxActiveParticleCount Determine the maximum active particles that could occur with this emitter.

Public function

void

 

ChangeEditorColor

(
    FColor& Color,
    UInterpCurveEdSetup* EdSetup
)

Public function

void

 

CompileModules

(
    FParticleEmitterBuildInfo& Emitter...
)

Compiles all modules for this LOD level.

Public function

void

 

ConvertToSpawnModule()

Update to the new SpawnModule method

Public function Virtual

bool

 

GenerateFromLODLevel

(
    UParticleLODLevel* SourceLODLe...,
    float Percentage,
    bool bGenerateModuleData
)

Public function

UParticleMod...

 

GetModuleAtIndex

(
    int32 InIndex
)

Public function

int32

 

GetModuleIndex

(
    UParticleModule* InModule
)

Public function Const

void

 

GetUsedMaterials

(
    TArray< UMaterialInterface* > ...,
    const TArray< struct FNamedEmitterM...,
    const TArray< UMaterialInterface&#...
)

Append all used materials to the material list.

Public function

bool

 

IsModuleEditable

(
    UParticleModule* InModule
)

Return true if the given module is editable for this LOD level.

Public function

void

 

RemoveCurvesFromEditor

(
    UInterpCurveEdSetup* EdSetup
)

Public function Virtual

void

 

SetLevelIndex

(
    int32 InLevelIndex
)

Sets the LOD 'Level' to the given value, properly updating the modules LOD validity settings.

Public function Virtual

void

 

UpdateModuleLists()

Overridden from UObject

Name Description

Public function Virtual Const

bool

 

IsPostLoadThreadSafe()

Called during async load to determine if PostLoad can be called on the loading thread.

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback