|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.ParticleSystemManager
public class ParticleSystemManager
| Nested Class Summary | |
|---|---|
static class |
ParticleSystemManager.ParticleAffectorFactoryIterator
|
static class |
ParticleSystemManager.ParticleAffectorFactoryMap
|
static class |
ParticleSystemManager.ParticleEmitterFactoryIterator
|
static class |
ParticleSystemManager.ParticleEmitterFactoryMap
|
static class |
ParticleSystemManager.ParticleRendererFactoryIterator
|
static class |
ParticleSystemManager.ParticleSystemRendererFactoryMap
|
static class |
ParticleSystemManager.ParticleSystemTemplateIterator
|
static class |
ParticleSystemManager.ParticleTemplateMap
|
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
ParticleSystemManager()
|
|
ParticleSystemManager(InstancePointer p)
This constructor is public for internal useage only! |
protected |
ParticleSystemManager(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
ParticleSystemManager(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| Method Summary | |
|---|---|
IParticleAffector |
_createAffector(java.lang.String affectorType,
IParticleSystem psys)
Internal method for creating a new affector from a factory. |
IParticleEmitter |
_createEmitter(java.lang.String emitterType,
IParticleSystem psys)
Internal method for creating a new emitter from a factory. |
IParticleSystemRenderer |
_createRenderer(java.lang.String rendererType)
Internal method for creating a new renderer from a factory. |
void |
_destroyAffector(IParticleAffector affector)
Internal method for destroying an affector. |
void |
_destroyEmitter(IParticleEmitter emitter)
Internal method for destroying an emitter. |
void |
_destroyRenderer(IParticleSystemRenderer renderer)
Internal method for destroying a renderer. |
IParticleSystemFactory |
_getFactory()
Get an instance of (internal use). |
void |
_initialise()
Init method to be called by OGRE system. |
void |
addAffectorFactory(IParticleAffectorFactory factory)
Adds a new 'factory' object for affectors to the list of available affector types. |
void |
addEmitterFactory(IParticleEmitterFactory factory)
Adds a new 'factory' object for emitters to the list of available emitter types. |
void |
addRendererFactory(IParticleSystemRendererFactory factory)
Registers a factory class for creating instances. |
void |
addTemplate(java.lang.String name,
IParticleSystem sysTemplate)
Adds a new particle system template to the list of available templates. |
IParticleSystem |
createTemplate(java.lang.String name,
java.lang.String resourceGroup)
Create a new particle system template. |
void |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
void |
getAffectorFactoryIterator(IParticleSystemManager.IParticleAffectorFactoryIterator returnValue)
Return an iterator over the affector factories currently registered |
void |
getEmitterFactoryIterator(IParticleSystemManager.IParticleEmitterFactoryIterator returnValue)
Return an iterator over the emitter factories currently registered |
float |
getLoadingOrder()
Gets the relative loading order of scripts of this type. |
void |
getRendererFactoryIterator(IParticleSystemManager.IParticleRendererFactoryIterator returnValue)
Return an iterator over the renderer factories currently registered |
IStringVector |
getScriptPatterns()
Gets the file patterns which should be used to find scripts for this class. |
static IParticleSystemManager |
getSingleton()
Override standard retrieval. |
static IParticleSystemManager |
getSingletonPtr()
Override standard retrieval. |
IParticleSystem |
getTemplate(java.lang.String name)
Retrieves a particle system template for possible modification. |
void |
getTemplateIterator(IParticleSystemManager.IParticleSystemTemplateIterator returnValue)
Gets an iterator over the list of particle system templates. |
void |
parseScript(IDataStreamPtr stream,
java.lang.String groupName)
Parse a script file. |
void |
removeAllTemplates(boolean deleteTemplate)
Removes a specified template from the . |
void |
removeTemplate(java.lang.String name,
boolean deleteTemplate)
Removes a specified template from the . |
| Methods inherited from class org.xbig.base.NativeObject |
|---|
disconnectFromNativeObject, equals, getInstancePointer, hashCode, setInstancePointer, setInstancePointer, setInstancePointer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xbig.base.INativeObject |
|---|
disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer |
| Constructor Detail |
|---|
public ParticleSystemManager(InstancePointer p)
protected ParticleSystemManager(InstancePointer p,
boolean remote)
public ParticleSystemManager(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public ParticleSystemManager()
| Method Detail |
|---|
public void delete()
INativeObjectSubclasses must implement this but if the native instance was created by the underlying library the native call to dispose must not happen!
delete in interface INativeObjectdelete in class NativeObject#remotepublic void finalize()
finalize in class NativeObjectpublic void addEmitterFactory(IParticleEmitterFactory factory)
addEmitterFactory in interface IParticleSystemManagerpublic void addAffectorFactory(IParticleAffectorFactory factory)
addAffectorFactory in interface IParticleSystemManagerpublic void addRendererFactory(IParticleSystemRendererFactory factory)
addRendererFactory in interface IParticleSystemManager
public void addTemplate(java.lang.String name,
IParticleSystem sysTemplate)
addTemplate in interface IParticleSystemManager
public void removeTemplate(java.lang.String name,
boolean deleteTemplate)
removeTemplate in interface IParticleSystemManagerpublic void removeAllTemplates(boolean deleteTemplate)
removeAllTemplates in interface IParticleSystemManager
public IParticleSystem createTemplate(java.lang.String name,
java.lang.String resourceGroup)
createTemplate in interface IParticleSystemManagerpublic IParticleSystem getTemplate(java.lang.String name)
getTemplate in interface IParticleSystemManager
public IParticleEmitter _createEmitter(java.lang.String emitterType,
IParticleSystem psys)
_createEmitter in interface IParticleSystemManagerpublic void _destroyEmitter(IParticleEmitter emitter)
_destroyEmitter in interface IParticleSystemManager
public IParticleAffector _createAffector(java.lang.String affectorType,
IParticleSystem psys)
_createAffector in interface IParticleSystemManagerpublic void _destroyAffector(IParticleAffector affector)
_destroyAffector in interface IParticleSystemManagerpublic IParticleSystemRenderer _createRenderer(java.lang.String rendererType)
_createRenderer in interface IParticleSystemManagerpublic void _destroyRenderer(IParticleSystemRenderer renderer)
_destroyRenderer in interface IParticleSystemManagerpublic void _initialise()
_initialise in interface IParticleSystemManagerpublic IStringVector getScriptPatterns()
IScriptLoader
getScriptPatterns in interface IParticleSystemManagergetScriptPatterns in interface IScriptLoader
public void parseScript(IDataStreamPtr stream,
java.lang.String groupName)
IScriptLoader
parseScript in interface IParticleSystemManagerparseScript in interface IScriptLoaderpublic float getLoadingOrder()
IScriptLoader
getLoadingOrder in interface IParticleSystemManagergetLoadingOrder in interface IScriptLoaderpublic void getAffectorFactoryIterator(IParticleSystemManager.IParticleAffectorFactoryIterator returnValue)
getAffectorFactoryIterator in interface IParticleSystemManagerpublic void getEmitterFactoryIterator(IParticleSystemManager.IParticleEmitterFactoryIterator returnValue)
getEmitterFactoryIterator in interface IParticleSystemManagerpublic void getRendererFactoryIterator(IParticleSystemManager.IParticleRendererFactoryIterator returnValue)
getRendererFactoryIterator in interface IParticleSystemManagerpublic void getTemplateIterator(IParticleSystemManager.IParticleSystemTemplateIterator returnValue)
getTemplateIterator in interface IParticleSystemManagerpublic IParticleSystemFactory _getFactory()
_getFactory in interface IParticleSystemManagerpublic static IParticleSystemManager getSingleton()
public static IParticleSystemManager getSingletonPtr()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||