Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Particles > Velocity
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleVelocityBase
- UParticleModuleVelocity
- UParticleModuleVelocity_Seeded
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Particles/Velocity/ParticleModuleVelocity.h |
Include | #include "Particles/Velocity/ParticleModuleVelocity.h" |
Syntax
class UParticleModuleVelocity : public UParticleModuleVelocityBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FRawDistributionVector | StartVelocity | The velocity to apply to a particle when it is spawned. |
![]() |
FRawDistributionFloat | StartVelocityRadial | The velocity to apply to a particle along its radial direction. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UParticleModuleVelocity
(
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 | |
---|---|---|---|
![]() ![]() |
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. |