Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Color
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleColorBase
- UParticleModuleColor
- UParticleModuleColor_Seeded
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/Color/ParticleModuleColor.h |
Include | #include "Particles/Color/ParticleModuleColor.h" |
Syntax
class UParticleModuleColor : public UParticleModuleColorBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint8: 1 | bClampAlpha | If true, the alpha value will be clamped to the [0..1] range. |
![]() |
FRawDistributionFloat | StartAlpha | Initial alpha for a particle as a function of Emitter time. |
![]() |
FRawDistributionVector | StartColor | Initial color for a particle as a function of Emitter time. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UParticleModuleColor
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Initializes the default values for this property | |
![]() |
void | SpawnEx
(
FParticleEmitterInstance* Owner, |
Extended version of spawn, allows for using a random stream for distribution value retrieval |
Overridden from UParticleModule
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AddModuleCurvesToEditor
(
UInterpCurveEdSetup* EdSetup, |
Add all curve-editable Objects within this module to the curve editor. |
![]() ![]() |
void | CompileModule
(
FParticleEmitterBuildInfo& EmitterInfo |
Called once to compile the effects of this module on runtime simulation. |
![]() ![]() |
void | SetToSensibleDefaults
(
UParticleEmitter* Owner |
For Cascade. |
![]() ![]() |
void | Spawn
(
FParticleEmitterInstance* Owner, |
Called on a particle that is freshly spawned by the emitter. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |