Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UParticleModuleColor |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/Color/ParticleModuleColor.h |
| Include Path | #include "Particles/Color/ParticleModuleColor.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, Meta=(DisplayName="Initial Color"), MinimalAPI)
class UParticleModuleColor : public UParticleModuleColorBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UParticleModule → UParticleModuleColorBase → UParticleModuleColor
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UParticleModuleColor
(
const FObjectInitializer& ObjectInitializer |
Particles/Color/ParticleModuleColor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClampAlpha | uint8 | If true, the alpha value will be clamped to the [0..1] range. | Particles/Color/ParticleModuleColor.h |
|
| StartAlpha | FRawDistributionFloat | Initial alpha for a particle as a function of Emitter time. | Particles/Color/ParticleModuleColor.h |
|
| StartColor | FRawDistributionVector | Initial color for a particle as a function of Emitter time. | Particles/Color/ParticleModuleColor.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeDefaults() |
Initializes the default values for this property | Particles/Color/ParticleModuleColor.h | |
void SpawnEx
(
const FSpawnContext& Context, |
Extended version of spawn, allows for using a random stream for distribution value retrieval | Particles/Color/ParticleModuleColor.h |
Overridden from UParticleModule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AddModuleCurvesToEditor
(
UInterpCurveEdSetup* EdSetup, |
Add all curve-editable Objects within this module to the curve editor. | Particles/Color/ParticleModuleColor.h | |
virtual void CompileModule
(
FParticleEmitterBuildInfo& EmitterInfo |
Called once to compile the effects of this module on runtime simulation. | Particles/Color/ParticleModuleColor.h | |
virtual void SetToSensibleDefaults
(
UParticleEmitter* Owner |
For Cascade. | Particles/Color/ParticleModuleColor.h | |
virtual void Spawn
(
const FSpawnContext& Context |
Particles/Color/ParticleModuleColor.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Particles/Color/ParticleModuleColor.h | ||
virtual void PostInitProperties() |
Particles/Color/ParticleModuleColor.h |