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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss