ParticleSystemComponent¶
Class in Engine · Engine.ParticleSystemComponent · native, editinlinenew
Object › Component › ActorComponent › PrimitiveComponent › ParticleSystemComponent
Using it from Lua
Enums¶
EParticleEventType
EPET_Any = 0, EPET_Spawn = 1, EPET_Death = 2, EPET_Collision = 3, EPET_WorldAttractorCollision = 4, EPET_Kismet = 5
EParticleSysParamType
PSPT_None = 0, PSPT_Scalar = 1, PSPT_ScalarRand = 2, PSPT_Vector = 3, PSPT_VectorRand = 4, PSPT_Color = 5, PSPT_Actor = 6, PSPT_Material = 7
ParticleReplayState
PRS_Disabled = 0, PRS_Capturing = 1, PRS_Replaying = 2
Structs¶
ParticleEmitterInstance
ParticleEmitterInstanceMotionBlurInfo
| Field | Type |
|---|---|
ParticleMBInfoMap | Map_Mirror |
ParticleEventAttractorCollideData
Struct extends ParticleEventCollideData
ParticleEventCollideData
Struct extends ParticleEventData
| Field | Type |
|---|---|
ParticleTime | float |
Normal | vector |
Time | float |
Item | int |
BoneName | name |
ParticleEventData
| Field | Type |
|---|---|
Type | int |
EventName | name |
EmitterTime | float |
Location | vector |
Direction | vector |
Velocity | vector |
ParticleEventDeathData
Struct extends ParticleEventData
| Field | Type |
|---|---|
ParticleTime | float |
ParticleEventKismetData
Struct extends ParticleEventData
| Field | Type |
|---|---|
UsePSysCompLocation | bool |
Normal | vector |
ParticleEventSpawnData
Struct extends ParticleEventData
ParticleSysParam
| Field | Type |
|---|---|
Name | name |
ParamType | EParticleSysParamType |
Scalar | float |
Scalar_Low | float |
Vector | vector |
Vector_Low | vector |
Color | color |
Actor | actor |
Material | MaterialInterface |
ViewParticleEmitterInstanceMotionBlurInfo
| Field | Type |
|---|---|
EmitterInstanceMBInfoMap | Map_Mirror |
Properties¶
| Name | Type | Notes |
|---|---|---|
AccumLODDistanceCheckTime | float | transient |
AccumTickTime | float | transient |
AttractorCollisionEvents | array<ParticleEventAttractorCollideData> | transient |
bAutoActivate | bool | |
bDeferredBeamUpdate | bool | |
bForcedInActive | bool | transient |
bHasBeenActivated | bool | transient |
bIsActive | bool | transient |
bIsCachedInPool | bool | |
bIsViewRelevanceDirty | bool | transient |
bIsWarmingUp | bool | transient |
bJustAttached | bool | transient |
bLODUpdatePending | bool | transient |
bOverrideLODMethod | bool | |
bRecacheViewRelevance | bool | transient |
bResetOnDetach | bool | |
bSkipBoundsUpdate | bool | |
bSkipSpawnCountCheck | bool | transient |
bSkipUpdateDynamicDataDuringTick | bool | |
bSuppressSpawning | bool | const, transient |
bUpdateComponentInTick | bool | |
bUpdateOnDedicatedServer | bool | |
bWarmingUp | bool | |
bWasCompleted | bool | const, transient |
bWasDeactivated | bool | const, transient |
CachedViewRelevanceFlags | array<MaterialViewRelevance> | const, transient |
CollisionEvents | array<ParticleEventCollideData> | transient |
CustomTimeDilation | float | |
DeathEvents | array<ParticleEventDeathData> | transient |
EditorDetailMode | int | |
EditorLODLevel | int | |
EmitterDelay | float | transient |
EmitterInstances | array | const, transient, native |
InstanceParameters | array<ParticleSysParam> | |
KismetEvents | array<ParticleEventKismetData> | transient |
LightEnvironmentClass | class<ParticleLightEnvironmentComponent> | |
LightEnvironmentSharedInstigator | Actor | transient |
LODLevel | int | transient, private |
LODMethod | ParticleSystemLODMethod | |
MaxLightEnvironmentPooledReuses | int | transient |
MaxTimeBeforeForceUpdateTransform | float | |
OldPosition | vector | |
PartSysVelocity | vector | |
ReleaseResourcesFence | pointer | const, transient, native |
ReplayClipIDNumber | int | const, transient |
ReplayClips | array<ParticleSystemReplay> | const |
ReplayFrameIndex | int | const, transient |
ReplayState | ParticleReplayState | const, transient |
SecondsBeforeInactive | float | |
SkelMeshComponents | array<SkeletalMeshComponent> | const, transient, private |
SMComponents | array<StaticMeshComponent> | const, transient, private |
SMMaterialInterfaces | array<MaterialInterface> | const, transient, private |
SpawnEvents | array<ParticleEventSpawnData> | transient |
Template | ParticleSystem | const |
TimeSinceLastForceUpdateTransform | float | transient, private |
ViewMBInfoArray | array<ViewParticleEmitterInstanceMotionBlurInfo> | const, transient, native |
WarmupTickRate | float | |
WarmupTime | float |
Functions¶
| Name | Declaration |
|---|---|
ActivateSystem | final native function ActivateSystem(bool bFlagAsJustAttached = false) |
AddUniqueEditorSkelMeshComp | function AddUniqueEditorSkelMeshComp(Component comp) (no declaration: types are approximate) |
CleanupEmitters | function CleanupEmitters() (no declaration: types are approximate) |
ClearParameter | final native function ClearParameter(name ParameterName, optional EParticleSysParamType ParameterType) |
DeactivateSystem | final native function DeactivateSystem() |
DetermineLODLevelForLocation | native function int DetermineLODLevelForLocation(const out vector EffectLocation) |
GetActorParameter | native function bool GetActorParameter(const name InName, out actor OutActor) |
GetColorParameter | native function bool GetColorParameter(const name InName, out color OutColor) |
GetEditorLODLevel | final native function int GetEditorLODLevel() |
GetFloatParameter | native function bool GetFloatParameter(const name InName, out float OutFloat) |
GetLODLevel | final native function int GetLODLevel() |
GetMaterialParameter | native function bool GetMaterialParameter(const name InName, out MaterialInterface OutMaterial) |
GetMaxLifespan | native function float GetMaxLifespan() |
GetSkipBoundsUpdate | final native function bool GetSkipBoundsUpdate() |
GetSkipUpdateDynamicDataDuringTick | final native function bool GetSkipUpdateDynamicDataDuringTick() |
GetVectorParameter | native function bool GetVectorParameter(const name InName, out vector OutVector) |
KillParticlesForced | final native function KillParticlesForced() |
KillParticlesInEmitter | final native function KillParticlesInEmitter(name InEmitterName) |
OnSystemFinished | delegate OnSystemFinished(ParticleSystemComponent PSystem) |
ResetToDefaults | final native function ResetToDefaults() |
RewindEmitterInstance | native function RewindEmitterInstance(int EmitterIndex) |
RewindEmitterInstances | native function RewindEmitterInstances() |
SetActive | final native function SetActive(bool bNowActive, optional bool bFlagAsJustAttached) |
SetActorParameter | final native function SetActorParameter(name ParameterName, actor Param) |
SetBeamDistance | native function SetBeamDistance(int EmitterIndex, float Distance) |
SetBeamEndPoint | native function SetBeamEndPoint(int EmitterIndex, vector NewEndPoint) |
SetBeamSourcePoint | native function SetBeamSourcePoint(int EmitterIndex, vector NewSourcePoint, int SourceIndex) |
SetBeamSourceStrength | native function SetBeamSourceStrength(int EmitterIndex, float NewSourceStrength, int SourceIndex) |
SetBeamSourceTangent | native function SetBeamSourceTangent(int EmitterIndex, vector NewTangentPoint, int SourceIndex) |
SetBeamTargetPoint | native function SetBeamTargetPoint(int EmitterIndex, vector NewTargetPoint, int TargetIndex) |
SetBeamTargetStrength | native function SetBeamTargetStrength(int EmitterIndex, float NewTargetStrength, int TargetIndex) |
SetBeamTargetTangent | native function SetBeamTargetTangent(int EmitterIndex, vector NewTangentPoint, int TargetIndex) |
SetBeamTessellationFactor | native function SetBeamTessellationFactor(int EmitterIndex, float NewFactor) |
SetBeamType | native function SetBeamType(int EmitterIndex, int NewMethod) |
SetColorParameter | final native function SetColorParameter(name ParameterName, color Param) |
SetEditorLODLevel | final native function SetEditorLODLevel(int InLODLevel) |
SetFloatParameter | final native function SetFloatParameter(name ParameterName, float Param) |
SetFloatRandParameter | final native function SetFloatRandParameter(name ParameterName, float Param, float ParamLow) |
SetKillOnCompleted | native function SetKillOnCompleted(int EmitterIndex, bool bKill) |
SetKillOnDeactivate | native function SetKillOnDeactivate(int EmitterIndex, bool bKill) |
SetLODLevel | final native function SetLODLevel(int InLODLevel) |
SetMaterialParameter | final native function SetMaterialParameter(name ParameterName, MaterialInterface Param) |
SetSkipBoundsUpdate | final native function SetSkipBoundsUpdate(bool bInSkipBoundsUpdate) |
SetSkipUpdateDynamicDataDuringTick | final native function SetSkipUpdateDynamicDataDuringTick(bool bInSkipUpdateDynamicDataDuringTick) |
SetStopSpawning | final native function SetStopSpawning(int InEmitterIndex, bool bInStopSpawning) |
SetTemplate | final native function SetTemplate(ParticleSystem NewTemplate) |
SetVectorParameter | final native function SetVectorParameter(name ParameterName, vector Param) |
SetVectorRandParameter | final native function SetVectorRandParameter(name ParameterName, const out vector Param, const out vector ParamLow) |
SystemHasCompleted | native function bool SystemHasCompleted() |
Default values¶
LightEnvironmentClass=class'ParticleLightEnvironmentComponent'
MaxLightEnvironmentPooledReuses=10
bTickInEditor=true
MaxTimeBeforeForceUpdateTransform=5
bAutoActivate=true
bResetOnDetach=false
OldPosition=(X=0,Y=0,Z=0)
PartSysVelocity=(X=0,Y=0,Z=0)
WarmupTime=0
SecondsBeforeInactive=1.0
bSkipUpdateDynamicDataDuringTick=false
TickGroup=TG_DuringAsyncWork
bIsViewRelevanceDirty=true
CustomTimeDilation=1.f
EditorDetailMode=-1
Inherited¶
| From | Members |
|---|---|
| PrimitiveComponent | 107 properties, 46 functions |
| ActorComponent | 7 properties, 4 functions |
| Component | 2 properties, 0 functions |
| Object | 13 properties, 308 functions |