Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Acceleration
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleAccelerationBase
- UParticleModuleAcceleration
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/Acceleration/ParticleModuleAcceleration.h |
Include | #include "Particles/Acceleration/ParticleModuleAcceleration.h" |
Syntax
class UParticleModuleAcceleration : public UParticleModuleAccelerationBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FRawDistributionVector | Acceleration | The initial acceleration of the particle. |
![]() |
uint32: 1 | bApplyOwnerScale | If true, then apply the particle system components scale to the acceleration value. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UParticleModuleAcceleration
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Initializes the default values for this property |
Overridden from UParticleModule
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | CompileModule
(
FParticleEmitterBuildInfo& EmitterInfo |
Called once to compile the effects of this module on runtime simulation. |
![]() ![]() |
bool | IsValidForLODLevel
(
UParticleLODLevel* LODLevel, |
Returns true if the module is valid for the provided LOD level. |
![]() ![]() |
uint32 | RequiredBytes
(
UParticleModuleTypeDataBase* TypeData |
Returns the number of bytes that the module requires in the particle payload block. |
![]() ![]() |
void | Spawn
(
FParticleEmitterInstance* Owner, |
Called on a particle that is freshly spawned by the emitter. |
![]() ![]() |
void | Update
(
FParticleEmitterInstance* Owner, |
Called on a particle that is being updated by its 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. |