Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/Location
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleLocationBase
- UParticleModuleLocation
- UParticleModuleLocation_Seeded
- UParticleModuleLocationWorldOffset
- UParticleModuleLocationWorldOffset_Seeded
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/Location/ParticleModuleLocation.h |
| Include | #include "Particles/Location/ParticleModuleLocation.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, Meta=(DisplayName="Initial Location"), MinimalAPI)
class UParticleModuleLocation : public UParticleModuleLocationBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | DistributeOverNPoints | When set to a non-zero value this will force the particles to only spawn on evenly distributed positions between the two points specified. | |
| float | DistributeThreshold | When DistributeOverNPoints is set to a non-zero value, this specifies the ratio of particles spawned that should use the distribution. | |
| FRawDistributionVector | StartLocation | The location the particle should be emitted. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UParticleModuleLocation
(
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 | Render3DPreview
(
FParticleEmitterInstance* Owner, |
Render the modules 3D visualization helper primitive. | |
| 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. |