Drag[en]gine Script Module DragonScript
1.23
|
Particle emitter element class property for use with XML loading. More...
Public Member Functions | |
void | copyValue (ElementClass elementClass, ElementClassProperty property) |
Copy value from another element class property of the same type. More... | |
bool | getHasPreloaded () |
Property has been preloaded. More... | |
LoadParticleEmitter | getLoader () |
Particle emitter loader. More... | |
ParticleEmitter | getParticleEmitter () |
ParticleEmitter or null if not present. More... | |
String | getPath () |
Path to particle emitter. More... | |
bool | logPreloadProblems (ElementClass elementClass, Console console) |
Log preloading problems. More... | |
ECPParticleEmitter | new (String name, LoadParticleEmitter loader) |
Create property. More... | |
ECPParticleEmitter | new (String name, LoadParticleEmitter loader, String path) |
Create property with initial path. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
void | setParticleEmitter (ParticleEmitter particleEmitter) |
Set particle emitter or null if not present. More... | |
void | setPath (String path) |
Set path to particle emitter. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. More... | |
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
void | dispose () |
Dispose of element class property to break reference loops. More... | |
String | getName () |
Name. More... | |
ElementClassProperty | new (String name) |
Create property. More... | |
Particle emitter element class property for use with XML loading.
Particle emitter is set from XML using a path. Loads the particle emitter during preloading. The value of the property is then the loaded resource. If loading fails null particle emitter is stored.
void Dragengine.Scenery.ECPParticleEmitter.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
bool Dragengine.Scenery.ECPParticleEmitter.getHasPreloaded | ( | ) |
Property has been preloaded.
LoadParticleEmitter Dragengine.Scenery.ECPParticleEmitter.getLoader | ( | ) |
Particle emitter loader.
ParticleEmitter Dragengine.Scenery.ECPParticleEmitter.getParticleEmitter | ( | ) |
ParticleEmitter or null if not present.
String Dragengine.Scenery.ECPParticleEmitter.getPath | ( | ) |
Path to particle emitter.
bool Dragengine.Scenery.ECPParticleEmitter.logPreloadProblems | ( | ElementClass | elementClass, |
Console | console | ||
) |
Log preloading problems.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
ECPParticleEmitter Dragengine.Scenery.ECPParticleEmitter.new | ( | String | name, |
LoadParticleEmitter | loader | ||
) |
Create property.
ECPParticleEmitter Dragengine.Scenery.ECPParticleEmitter.new | ( | String | name, |
LoadParticleEmitter | loader, | ||
String | path | ||
) |
Create property with initial path.
void Dragengine.Scenery.ECPParticleEmitter.preloadResources | ( | ElementClass | elementClass, |
PreloadCounter | counter | ||
) |
Preload resources if supported.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
void Dragengine.Scenery.ECPParticleEmitter.setParticleEmitter | ( | ParticleEmitter | particleEmitter | ) |
Set particle emitter or null if not present.
void Dragengine.Scenery.ECPParticleEmitter.setPath | ( | String | path | ) |
Set path to particle emitter.
void Dragengine.Scenery.ECPParticleEmitter.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.