Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:ParticleGenerator (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> ParticleGenerator

Contents

Package: 
ParticleSystems
Known classes within ParticleGenerator:
ActorCollisionNotifier, ActorParticleTemplate, AnchorForce, AttractionForce, CollisionAnchor, CollisionDiscForce, CollisionGlider, CollisionSphereForce, ColorForce, DecayForce, DestroyOnDamage, FadeForce, FadeInForce, FadeOutForce, Force, FrictionForce, GeoCollideAndMerge, GeometryCollider, GeometryColliderEx, GlobalAccelerator, InertiaForce, LimitedResizeForce, LocationGrouped, LocatorForce, MaxVelocityForce, MeshAnchor, MinDecayForce, MoveZig, MultiTemplateForce, NeuralNetForce, OnDestroyForce, OscillatingPerParticleForce, ParticleDamage, ParticleDecalTemplate, ParticleSalamanderForce, ParticleTemplate, PerParticleFriction, PerParticleGravity, PointParticleTemplate, RecursiveParticleTemplate, RepulsionForce, ResizeForce, RigidBody, RotatingParticleTemplate, RotationForce, RotationGrouped, SlipForce, SpringForce, SpringLocator, Sprite3DParticleTemplate, SpriteParticleTemplate, StrandParticleTemplate, StreakParticleTemplate, TarpCollider, TexturedStreakParticleTemplate, TriangleForce, TriangleParticleTemplate, TriForce, TriParticleTemplate, VariablePerParticleGravity, ViewVelocityScaledParticleTemplate, VoidDestroyer, WetWindshildParticleTemplate, WindForce
Direct subclasses:
BarbbieHareDesigner, LineManager, ParticleAffector, ParticleBlower, ParticleRadiator, ParticleSalamander, ParticleSkeleton, PulseLineGenerator, TarpBuilder
This class in other games:
U2XMP

$Author: Mfox $ $Date: 2/27/03 7:06p $ $Revision: 25 $ Name: ParticleGenerator.uc Author: Aaron R Leiby Date: 4 March 2000 Description: Base class of all particle generators. How to use this class:

Constants[edit]

PARTICLEVERSION_Current[edit]

Value: 3


PARTICLEVERSION_AutoLit[edit]

Value: 3


PARTICLEVERSION_AffectingForces[edit]

Value: 2


PARTICLEVERSION_NumParticlesFix[edit]

Value: 1


Properties[edit]

Property group 'ParticleAdvanced'[edit]

bCollisionBound[edit]

Type: bool


bInterpolate[edit]

Type: bool


bLockParticles[edit]

Type: bool

Disable forces, cleaning, and render relative to the system.

bShowBoundingBox[edit]

Type: bool


DefaultForces[edit]

Type: array<class<Force> >

Forces automatically installed when spawned.

Default value, index 0: Class'ParticleSystems.DecayForce'

Default value, index 1: Class'ParticleSystems.LocatorForce'

IdleTime[edit]

Type: float


IgnoredForces[edit]

Type: array<name>


MaxTickSize[edit]

Type: float


Default value: 0.008333

ParticleLifeSpan[edit]

Type: float


ParticleVersion[edit]

Type: int


PrimeTime[edit]

Type: float


Property group 'ParticleGenerator'[edit]

bOn[edit]

Type: bool


Default value: True

Forces[edit]

Type: OrderedArray<Force>

Modifiers: editinline


ParticleTemplates[edit]

Type: OrderedArray<ParticleTemplate>

Modifiers: editinline


Property group 'ParticleSelection'[edit]

bLinearFrequenciesChanged[edit]

Type: bool


Default value: True

SelectionMethod[edit]

Type: Select


Default value: SELECT_Random

Property group 'Sound'[edit]

SoundLoop[edit]

Type: Sound


SoundOff[edit]

Type: Sound


SoundOn[edit]

Type: Sound


Property group 'TriggerSupport'[edit]

bInitiallyOn[edit]

Type: bool


Default value: True

MaxParticles[edit]

Type: int

Maximum particles emitted per trigger.

RampDownTime[edit]

Type: float


RampUpTime[edit]

Type: float


TimerDuration[edit]

Type: float


Trig[edit]

Type: Button


Default value: "SendTrigger"

UnTrig[edit]

Type: Button


Default value: "SendUnTrigger"

Internal variables[edit]

bAttachDelayTick[edit]

Type: bool

Delay tick till render if attached to a skeletal mesh bone.

Default value: True

bAttachment[edit]

Type: bool

Set if we are a golem attachment. (DEPRICATED)

bForceDelayTick[edit]

Type: bool

Delay tick till render even if not attached to skeletal mesh bone.

InternalTimer[edit]

Type: float


LargestWeight[edit]

Type: float

The currently largest linear weight.

LastBoundSizeSquared[edit]

Type: float

Modifiers: transient


LastDeltaSeconds[edit]

Type: float

Modifiers: transient

cached for latent ticks - i.e. weapon attachments.

LastLocation[edit]

Type: Object.Vector

Modifiers: transient


LastPitch[edit]

Type: float

Modifiers: transient


LastRoll[edit]

Type: float

Modifiers: transient


LastTimeDrawn[edit]

Type: float

Modifiers: transient


LastYaw[edit]

Type: float

Modifiers: transient


LockedLocalToWorld[edit]

Type: Object.Matrix

Used interally for rendering locked systems relatively.

Default value:

Member Value
WPlane
Member Value
W 1.0
XPlane
Member Value
X 1.0
YPlane
Member Value
Y 1.0
ZPlane
Member Value
Z 1.0

ParticleCount[edit]

Type: int

Used internally to enforce ParticleCount.

RampDir[edit]

Type: Ramp


RampTimer[edit]

Type: float


TemplateIndex[edit]

Type: int

Current index into the particle template list.

TemplateIteration[edit]

Type: int


VolumeScale[edit]

Type: float


Default values[edit]

Property Value
bBlockNonZeroExtentTraces False
bBlockZeroExtentTraces False
bCanTeleport True
bUnlit True
CullDistance 5000.0
DrawType DT_Custom
RemoteRole ROLE_None
Style STY_Translucent

Enums[edit]

Ramp[edit]

RAMP_None 
RAMP_Up 
RAMP_Down 

Select[edit]

SELECT_Linear 
Cyclically iterate through the ParticleTemplates array.
SELECT_Random 
Randomly pick a particle from the ParticleTemplates array.

Functions[edit]

Static native functions[edit]

ParticleGetLocation[edit]

static native function Object.Vector ParticleGetLocation (Object.ParticleHandle P)


ParticleGetVelocity[edit]

static native function Object.Vector ParticleGetVelocity (Object.ParticleHandle P)


ParticleSetLocation[edit]

static native function ParticleSetLocation (Object.ParticleHandle P, Object.Vector Loc)


ParticleSetVelocity[edit]

static native function ParticleSetVelocity (Object.ParticleHandle P, Object.Vector Vel)


Other static functions[edit]

CreateNew[edit]

static function ParticleGenerator CreateNew (Actor Helper, ParticleGenerator Template, optional Object.Vector Location)


DynamicCreateNew[edit]

static function ParticleGenerator DynamicCreateNew (Actor Helper, Class Type, string TemplateName, optional Object.Vector Location)


ZapParticleGenerator[edit]

static function ZapParticleGenerator (out ParticleGenerator PG)


Native functions[edit]

AddForce[edit]

native event AddForce (Force AddedForce)


AddTemplate[edit]

native event AddTemplate (ParticleTemplate T)


Clean[edit]

native event Clean ()


Conform[edit]

native event Conform (ParticleGenerator Image, optional bool bDeleteExisting)


Duplicate[edit]

native event Duplicate (out ParticleGenerator D, Level L)


ExchangeTemplate[edit]

native event ExchangeTemplate (ParticleTemplate Old, ParticleTemplate New)


GetParticleTemplates[edit]

native event GetParticleTemplates (out Object T)


LockParticles[edit]

native event LockParticles ()


ManualTick[edit]

native event ManualTick (float DeltaSeconds)


RegisterExternallyAffectedTemplates[edit]

native event RegisterExternallyAffectedTemplates ()


RemoveForce[edit]

native event RemoveForce (Force RemovedForce)


RemoveForceType[edit]

native event RemoveForceType (name ClassName, optional bool bAndSubclasses)


RemoveTemplate[edit]

native event RemoveTemplate (ParticleTemplate T)


RemoveTemplateType[edit]

native event RemoveTemplateType (name ClassName, optional bool bAndSubclasses)


UnLockParticles[edit]

native event UnLockParticles ()


UnRegisterExternallyAffectedTemplates[edit]

native event UnRegisterExternallyAffectedTemplates ()


ValidateComponents[edit]

native event ValidateComponents ()


GetMaxLifeSpan[edit]

native function float GetMaxLifeSpan ()


Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: Actor.Destroyed


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PreBeginPlay[edit]

simulated event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


TurnOff[edit]

simulated event TurnOff ()


TurnOn[edit]

simulated event TurnOn ()


Other instance functions[edit]

AutoDestroy[edit]

function AutoDestroy ()


ParticleDestroy[edit]

simulated function ParticleDestroy ()


SendTrigger[edit]

simulated function SendTrigger ()


SendUnTrigger[edit]

simulated function SendUnTrigger ()


SetAttachment[edit]

function SetAttachment (bool B)


SetParticleLifeSpan[edit]

simulated function SetParticleLifeSpan (float Seconds)


States[edit]

TriggerControl[edit]

Modifiers: simulated

TriggerControl.Trigger[edit]

simulated event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)


TriggerControl.UnTrigger[edit]

simulated event UnTrigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.UnTrigger (global)


TriggerTimed[edit]

Modifiers: simulated

TriggerTimed.Trigger[edit]

simulated event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)


TriggerToggle[edit]

Modifiers: simulated

TriggerToggle.Trigger[edit]

simulated event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)