I don't need to test my programs. I have an error-correcting modem.
UE3:ParticleSystemComponent (UDK)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> Component >> ActorComponent >> PrimitiveComponent >> ParticleSystemComponent |
- Package:
- Engine
- Direct subclasses:
- CascadeParticleSystemComponent, UTParticleSystemComponent
- This class in other games:
- UT3
| This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
[edit] Properties
[edit] Property group 'LOD'
[edit] bOverrideLODMethod
Type: bool
indicates that the component's LODMethod overrides the Template's
[edit] LODMethod
Type: ParticleSystem.ParticleSystemLODMethod
The method of LOD level determination to utilize for this particle system
[edit] Property group 'ParticleSystemComponent'
[edit] bAutoActivate
Type: bool
If true, activate on creation.
Default value: True
[edit] bResetOnDetach
Type: bool
[edit] CustomTimeDilation
Type: float
Scales DeltaTime in UParticleSystemComponent::Tick(...)
Default value: 1.0
[edit] InstanceParameters
Type: array<ParticleSysParam>
Modifiers: editinline
Array holding name instance parameters for this ParticleSystemComponent. Parameters can be used in Cascade using DistributionFloat/VectorParticleParameters.
[edit] ReplayClips
Type: array<ParticleSystemReplay>
Modifiers: const, editinline
Array of replay clips for this particle system component. These are serialized to disk. You really should never add anything to this in the editor. It's exposed so that you can delete clips if you need to, but be careful when doing so!
[edit] SecondsBeforeInactive
Type: float
Number of seconds of emitter not being rendered that need to pass before it no longer gets ticked/ becomes inactive.
Default value: 1.0
[edit] Template
Type: ParticleSystem
Modifiers: const
[edit] Internal variables
See ParticleSystemComponent internal variables.
[edit] Default values
| Property | Value |
|---|---|
| bTickInEditor | True |
[edit] Enums
[edit] EParticleEventType
Event type
- EPET_Any
- Any - allow any event
- EPET_Spawn
- Spawn - a particle spawn event
- EPET_Death
- Death - a particle death event
- EPET_Collision
- Collision - a particle collision event
- EPET_Kismet
- Kismet - an event generated by Kismet
[edit] EParticleSysParamType
Enum for specifying type of a name instance parameter.
- PSPT_None
- PSPT_Scalar
- PSPT_Vector
- PSPT_Color
- PSPT_Actor
- PSPT_Material
[edit] ParticleReplayState
Particle system replay state
- PRS_Disabled
- Replay system is disabled. Particles are simulated and rendered normally.
- PRS_Capturing
- Capture all particle data to the clip specified by ReplayClipIDNumber. The frame to capture
must be specified using the ReplayFrameIndex
- PRS_Replaying
- Replay captured particle state from the clip specified by ReplayClipIDNumber. The frame to play
must be specified using the ReplayFrameIndex
[edit] Structs
[edit] ParticleEmitterInstance
(No member variables.)
[edit] ParticleEmitterInstanceMotionBlurInfo
Modifiers: native
Stores motion blur transform info for particles
- Object.Map_Mirror{TMap<INT, struct FMeshElementMotionBlurInfo>} ParticleMBInfoMap
- Maps unique particle Id to its motion blur info
[edit] ParticleEventCollideData
Extends: ParticleEventData
Modifiers: native
Collision particle event data.
- float ParticleTime
- The particle time at collision.
- Object.Vector Normal
- Normal vector in coordinate system of the returner. Zero=none.
- float Time
- Time until hit, if line check.
- int Item
- Primitive data item which was hit, INDEX_NONE=none.
- name BoneName
- Name of bone we hit (for skeletal meshes).
[edit] ParticleEventData
Modifiers: native
The base class for all particle event data.
- int Type
- The type of event that was generated.
- name EventName
- The name of the event.
- float EmitterTime
- The emitter time at the event.
- Object.Vector Location
- The location of the event.
- Object.Vector Direction
- The direction of the particle at the time of the event.
- Object.Vector Velocity
- The velocity at the time of the event.
[edit] ParticleEventDeathData
Extends: ParticleEventData
Modifiers: native
Killed particle event data.
- float ParticleTime
- The particle time at its death.
[edit] ParticleEventKismetData
Extends: ParticleEventData
Modifiers: native
Kismet particle event data.
- bool UsePSysCompLocation
- If TRUE, use the particle system component location as spawn location.
- Object.Vector Normal
- Normal vector in coordinate system of the returner. Zero=none.
[edit] ParticleEventSpawnData
Extends: ParticleEventData
Modifiers: native
Spawn particle event data.
(No new member variables.)
[edit] ParticleSysParam
Modifiers: native
Struct used for a particular named instance parameter for this ParticleSystemComponent.
- name Name
- No UObject reference
- EParticleSysParamType ParamType
- float Scalar
- Object.Vector Vector
- Object.Color Color
- Actor Actor
- MaterialInterface Material
[edit] ViewParticleEmitterInstanceMotionBlurInfo
Modifiers: native
Stores motion blur transform info for emitter instances
- Object.Map_Mirror{TMap<const struct FParticleMeshEmitterInstance*, struct FParticleEmitterInstanceMotionBlurInfo>} EmitterInstanceMBInfoMap
- Maps unique emitter instance via ptr to its particle motion blur info
[edit] Delegates
[edit] OnSystemFinished
[edit] Native functions
[edit] ActivateSystem
[edit] ClearParameter
clears the specified parameter, returning it to the default value set in the template
Parameters:
- ParameterName - name of parameter to remove
- ParameterType - type of parameter to remove; if omitted or PSPT_None is specified, all parameters with the given name are removed
[edit] DeactivateSystem
[edit] DetermineLODLevelForLocation
This will determine which LOD to use based off the specific ParticleSystem passed in and the distance to where that PS is being displayed.
NOTE: This is distance based LOD not perf based. Perf and distance are orthogonal concepts.
[edit] GetActorParameter
Retrieve the Actor parameter value for the given name.
Parameters:
- InName - Name of the parameter
- OutActor - The value of the parameter found
Returns:
- TRUE Parameter was found - OutActor is valid FALSE Parameter was not found - OutActor is invalid
[edit] GetColorParameter
Retrieve the Color parameter value for the given name.
Parameters:
- InName - Name of the parameter
- OutColor - The value of the parameter found
Returns:
- TRUE Parameter was found - OutColor is valid FALSE Parameter was not found - OutColor is invalid
[edit] GetEditorLODLevel
[edit] GetFloatParameter
Retrieve the Float parameter value for the given name.
Parameters:
- InName - Name of the parameter
- OutFloat - The value of the parameter found
Returns:
- TRUE Parameter was found - OutFloat is valid FALSE Parameter was not found - OutFloat is invalid
[edit] GetLODLevel
GetLODLevel - gets the LOD level currently set.
[edit] GetMaterialParameter
Retrieve the Material parameter value for the given name.
Parameters:
- InName - Name of the parameter
- OutMaterial - The value of the parameter found
Returns:
- TRUE Parameter was found - OutMaterial is valid FALSE Parameter was not found - OutMaterial is invalid
[edit] GetSkipUpdateDynamicDataDuringTick
Function for retrieving the bSkipUpdateDynamicDataDuringTick flag.
[edit] GetVectorParameter
Retrieve the Vector parameter value for the given name.
Parameters:
- InName - Name of the parameter
- OutVector - The value of the parameter found
Returns:
- TRUE Parameter was found - OutVector is valid FALSE Parameter was not found - OutVector is invalid
[edit] KillParticlesForced
[edit] ResetToDefaults
stops the emitter, detaches the component, and resets the component's properties to the values of its template
[edit] RewindEmitterInstance
Rewind emitter instances.
[edit] RewindEmitterInstances
[edit] SetActive
calls ActivateSystem() or DeactivateSystem() only if the component is not already activated/deactivated necessary because ActivateSystem() resets already active emitters so it shouldn't be called multiple times on looping effects
Parameters:
- bNowActive - whether the system should be active
[edit] SetActorParameter
[edit] SetBeamDistance
Set the beam distance
Parameters:
- EmitterIndex - The index of the emitter to set it on
- Distance - The value to set it to
[edit] SetBeamEndPoint
Set the beam end point
Parameters:
- EmitterIndex - The index of the emitter to set it on
- NewEndPoint - The value to set it to
[edit] SetBeamSourcePoint
Set the beam source point
Parameters:
- EmitterIndex - The index of the emitter to set it on
- NewSourcePoint - The value to set it to
- SourceIndex - Which beam within the emitter to set it on
[edit] SetBeamSourceStrength
Set the beam source strength
Parameters:
- EmitterIndex - The index of the emitter to set it on
- NewSourceStrength - The value to set it to
- SourceIndex - Which beam within the emitter to set it on
[edit] SetBeamSourceTangent
Set the beam source tangent
Parameters:
- EmitterIndex - The index of the emitter to set it on
- NewTangentPoint - The value to set it to
- SourceIndex - Which beam within the emitter to set it on
[edit] SetBeamTargetPoint
Set the beam target point
Parameters:
- EmitterIndex - The index of the emitter to set it on
- NewTargetPoint - The value to set it to
- TargetIndex - Which beam within the emitter to set it on
[edit] SetBeamTargetStrength
Set the beam target strength
Parameters:
- EmitterIndex - The index of the emitter to set it on
- NewTargetStrength - The value to set it to
- TargetIndex - Which beam within the emitter to set it on
[edit] SetBeamTargetTangent
Set the beam target tangent
Parameters:
- EmitterIndex - The index of the emitter to set it on
- NewTangentPoint - The value to set it to
- TargetIndex - Which beam within the emitter to set it on
[edit] SetBeamTessellationFactor
Set the beam tessellation factor
Parameters:
- EmitterIndex - The index of the emitter to set it on
- NewFactor - The value to set it to
[edit] SetBeamType
Set the beam type
Parameters:
- EmitterIndex - The index of the emitter to set it on
- NewMethod - The new method/type of beam to generate
[edit] SetColorParameter
[edit] SetEditorLODLevel
[edit] SetFloatParameter
[edit] SetKillOnCompleted
SetKillOnDeactivate is used to set the KillOnCompleted( flag. If true, when the particle system is completed, it will immediately kill the emitter instance.
Set this to true for cached ParticleSystems
Parameters:
- EmitterIndex - The index of the emitter to set it on
- bKill - The value to set it to
[edit] SetKillOnDeactivate
SetKillOnDeactivate is used to set the KillOnDeactivate flag. If true, when the particle system is deactivated, it will immediately kill the emitter instance. If false, the emitter instance live particles will complete their lifetime.
Set this to true for cached ParticleSystems
Parameters:
- EmitterIndex - The index of the emitter to set it on
- bKill - value to set KillOnDeactivate to
[edit] SetLODLevel
SetLODLevel - sets the LOD level to use for this instance.
[edit] SetMaterialParameter
[edit] SetSkipUpdateDynamicDataDuringTick
Function for setting the bSkipUpdateDynamicDataDuringTick flag.
[edit] SetStopSpawning
Calls SetStopSpawning with the given emitter instance passing in the given value.
Parameters:
- InEmitterIndex - The index of the emitter instance to call SetHaltSpawning on; -1 for ALL
- bInStopSpawning - The value to pass into the EmitterInstance SetHaltSpawning call
