Drag[en]gine Script Module DragonScript
1.23
|
Composable particle emitter for element class. More...
Public Member Functions | |
ParticleEmitterInstance | createParticleEmitterInstance (Element element, StubElement stub) |
Create particle emitter instance for element from stub. More... | |
TSTriggerExpression | createTriggerCasting (Element element, StubElement stub) |
Create casting trigger expression from stub or null if not used. More... | |
TSTriggerExpression | createTriggerCasting (Element element, StubElement stub, String defaultValue) |
Create casting trigger expression from stub or null if not used. More... | |
ECPBoolean | getCasting () |
Emitter is casting particles. More... | |
ECComposeCollisionFilter | getCollisionFilter () |
Collision filter. More... | |
LayerMask | getLayerMask () |
Layer mask to set (basic layer mask). More... | |
ECPParticleEmitter | getParticleEmitter () |
Particle emitter resource. More... | |
String | getPrefix () |
Property prefix. More... | |
ECPFloat | getTimeScale () |
Time scale for controllers advanced by time. More... | |
ECPFloat | getWarmUpTime () |
Warm up time when start casting. More... | |
ECComposeParticleEmitter | new (ElementClass ownerClass, Loaders loaders) |
Create composable element class. More... | |
ECComposeParticleEmitter | new (ElementClass ownerClass, Loaders loaders, String prefix) |
Create composable element class. More... | |
void | setLayerMask (LayerMask layerMask) |
Set layer mask to set (basic layer mask). More... | |
Composable particle emitter for element class.
Provides particle emitter support to element class without subclassing from a specific class. Sets the particle emitter to use by particle emitter instance.
ParticleEmitterInstance Dragengine.Scenery.ECComposeParticleEmitter.createParticleEmitterInstance | ( | Element | element, |
StubElement | stub | ||
) |
Create particle emitter instance for element from stub.
Creates particle emitter instance and assigns particle emitter. The particle emitter is not setEnableCasting() by default otherwise a burst of particles can be emitted although the trigger created later on evaluates to false.
TSTriggerExpression Dragengine.Scenery.ECComposeParticleEmitter.createTriggerCasting | ( | Element | element, |
StubElement | stub | ||
) |
Create casting trigger expression from stub or null if not used.
TSTriggerExpression Dragengine.Scenery.ECComposeParticleEmitter.createTriggerCasting | ( | Element | element, |
StubElement | stub, | ||
String | defaultValue | ||
) |
Create casting trigger expression from stub or null if not used.
ECPBoolean Dragengine.Scenery.ECComposeParticleEmitter.getCasting | ( | ) |
Emitter is casting particles.
ECComposeCollisionFilter Dragengine.Scenery.ECComposeParticleEmitter.getCollisionFilter | ( | ) |
Collision filter.
LayerMask Dragengine.Scenery.ECComposeParticleEmitter.getLayerMask | ( | ) |
Layer mask to set (basic layer mask).
ECPParticleEmitter Dragengine.Scenery.ECComposeParticleEmitter.getParticleEmitter | ( | ) |
Particle emitter resource.
String Dragengine.Scenery.ECComposeParticleEmitter.getPrefix | ( | ) |
Property prefix.
ECPFloat Dragengine.Scenery.ECComposeParticleEmitter.getTimeScale | ( | ) |
Time scale for controllers advanced by time.
ECPFloat Dragengine.Scenery.ECComposeParticleEmitter.getWarmUpTime | ( | ) |
Warm up time when start casting.
ECComposeParticleEmitter Dragengine.Scenery.ECComposeParticleEmitter.new | ( | ElementClass | ownerClass, |
Loaders | loaders | ||
) |
Create composable element class.
Adds all properties to ownerClass. If you do not want a property to be configurable using XML subclassing use ownerClass.removeProperty() to remove them.
ECComposeParticleEmitter Dragengine.Scenery.ECComposeParticleEmitter.new | ( | ElementClass | ownerClass, |
Loaders | loaders, | ||
String | prefix | ||
) |
Create composable element class.
Adds all properties to ownerClass. If you do not want a property to be configurable using XML subclassing use ownerClass.removeProperty() to remove them.
void Dragengine.Scenery.ECComposeParticleEmitter.setLayerMask | ( | LayerMask | layerMask | ) |
Set layer mask to set (basic layer mask).