Class: SubEmitter

SubEmitter(SubEmitterParams) → {SubEmitter}

new SubEmitter(SubEmitterParams) → {SubEmitter}

Default Constructor
Parameters:
Name Type Description
SubEmitterParams SubEmitterParams struct
Source:
Returns:
New instance of SubEmitter object
Type
SubEmitter

Methods

getPhysInherit() → {bool}

Get the state of subparticle physical inheritance
Source:
Returns:
this.physInherit
Type
bool

getSubParticleLife() → {float}

Get the subparticle life value
Source:
Returns:
this.subParticleLife
Type
float

getSubParticleSizeDelta() → {float}

Get the subparticle size delta value
Source:
Returns:
this.subParticleSizeDelta
Type
float

handleSubEmissions()

Checks for main particle death condition
Source:

setPhysInherit()

Adjust whether subparticle inherits main particle's physics
Source:

setSubParticleLife(val)

Adjust subparticle life value
Parameters:
Name Type Description
val float inc how much to increment by
Source:

setSubParticleSizeDelta(val)

Adjust subparticle sizeDelta value
Parameters:
Name Type Description
val float inc how much to increment by
Source: