UParticleModuleSizeMultiplyLife

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Particles/Size/ParticleModuleSizeMultiplyLife.h

Include

#include "Particles/Size/ParticleModuleSizeMultiplyLife.h"

Syntax

class UParticleModuleSizeMultiplyLife : public UParticleModuleSizeBase

Variables

Name Description

Public variable

FRawDistributio...

 

LifeMultiplier

The scale factor for the size that should be used for a particle.

Public variable

uint32: 1

 

MultiplyX

If true, the X-component of the scale factor will be applied to the particle size X-component.

Public variable

uint32: 1

 

MultiplyY

If true, the Y-component of the scale factor will be applied to the particle size Y-component.

Public variable

uint32: 1

 

MultiplyZ

If true, the Z-component of the scale factor will be applied to the particle size Z-component.

Constructors

Name Description

Public function

UParticleModuleSizeMultiplyLife

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

InitializeDefaults()

Initializes the default values for this property

Overridden from UParticleModule

Name Description

Public function Virtual

void

 

CompileModule

(
    FParticleEmitterBuildInfo& Emitter...
)

Called once to compile the effects of this module on runtime simulation.

Public function Virtual

bool

 

IsSizeMultiplyLife()

Returns whether the module is SizeMultipleLife or not.

Public function Virtual

bool

 

IsValidForLODLevel

(
    UParticleLODLevel* LODLevel,
    FString& OutErrorString
)

Returns true if the module is valid for the provided LOD level.

Public function Virtual

void

 

SetToSensibleDefaults

(
    UParticleEmitter* Owner
)

For Cascade.

Public function Virtual

void

 

Spawn

(
    FParticleEmitterInstance* Owne...,
    int32 Offset,
    float SpawnTime,
    FBaseParticle* ParticleBase
)

Called on a particle that is freshly spawned by the emitter.

Public function Virtual

void

 

Update

(
    FParticleEmitterInstance* Owne...,
    int32 Offset,
    float DeltaTime
)

Called on a particle that is being updated by its emitter.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.