Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UParticleModuleSpawnPerUnit |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Particles/Spawn/ParticleModuleSpawnPerUnit.h |
| Include Path | #include "Particles/Spawn/ParticleModuleSpawnPerUnit.h" |
Syntax
UCLASS (EditInlineNew, MinimalAPI, HideCategories=Object, Meta=(DisplayName="Spawn PerUnit"))
class UParticleModuleSpawnPerUnit : public UParticleModuleSpawnBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UParticleModule → UParticleModuleSpawnBase → UParticleModuleSpawnPerUnit
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UParticleModuleSpawnPerUnit
(
const FObjectInitializer& ObjectInitializer |
Particles/Spawn/ParticleModuleSpawnPerUnit.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIgnoreMovementAlongX | uint8 | If true, ignore the X-component of the movement | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
|
| bIgnoreMovementAlongY | uint8 | If true, ignore the Y-component of the movement | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
|
| bIgnoreMovementAlongZ | uint8 | If true, ignore the Z-component of the movement | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
|
| bIgnoreSpawnRateWhenMoving | uint8 | If true, process the default spawn rate when not moving... | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
|
| MaxFrameDistance | float | The maximum valid movement for a single frame. | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
|
| MovementTolerance | float | The tolerance for moving vs. | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
|
| SpawnPerUnit | FRawDistributionFloat | The amount to spawn per meter distribution. The value is retrieved using the EmitterTime. | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
|
| UnitScalar | float | The scalar to apply to the distance traveled. | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeDefaults() |
Initializes the default values for this property | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
Overridden from UParticleModuleSpawnBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetSpawnAmount
(
const FContext& Context, |
Retrieve the spawn amount this module is contributing. | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
Overridden from UParticleModule
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CompileModule
(
FParticleEmitterBuildInfo& EmitterInfo |
Called once to compile the effects of this module on runtime simulation. | Particles/Spawn/ParticleModuleSpawnPerUnit.h | |
virtual uint32 RequiredBytesPerInstance() |
Returns the number of bytes the module requires in the emitters 'per-instance' data block. | Particles/Spawn/ParticleModuleSpawnPerUnit.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Particles/Spawn/ParticleModuleSpawnPerUnit.h | ||
virtual void PostInitProperties() |
Particles/Spawn/ParticleModuleSpawnPerUnit.h |