Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Particles > API/Runtime/Engine/Particles/Location
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UParticleModule
- UParticleModuleLocationBase
- UParticleModuleLocationDirect
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Particles/Location/ParticleModuleLocationDirect.h |
| Include | #include "Particles/Location/ParticleModuleLocationDirect.h" |
Syntax
UCLASS (EditInlineNew, HideCategories=Object, Meta=(DisplayName="Direct Location"), MinimalAPI)
class UParticleModuleLocationDirect : public UParticleModuleLocationBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRawDistributionVector | Direction | Currently unused. | |
| FRawDistributionVector | Location | The location of the particle at a give time. | |
| FRawDistributionVector | LocationOffset | An offset to apply to the position retrieved from the Location calculation. | |
| FRawDistributionVector | ScaleFactor | Scales the velocity of the object at a given point in the time-line. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UParticleModuleLocationDirect
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initializes the default values for this property |
Overridden from UParticleModule
| Type | Name | Description | |
|---|---|---|---|
| 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. |