|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.cult3d.world.Node | +--com.cult3d.world.ParticleSystem
This class provides a Java representation for a Particle System that exists in the scene graph of the Cult3D Designer.
Fields inherited from class com.cult3d.world.Node |
LOCAL,
WORLD,
X,
Y,
Z |
Constructor Summary | |
ParticleSystem(java.lang.String name)
Constructs a Java representation of an existing particle system in the scene graph. |
Method Summary | |
java.lang.String |
getInfo()
Returns a string representation of the values of this object. |
Texture |
getTexture()
Method that retrieves the texture map for a particle system. |
boolean |
isActive()
Method that retrieves the current state of the particle system. |
void |
kill()
Method the removes all particles, this method does not stop the generation of new particles, use setActive(false) to stop generating more particles. |
void |
setActive(boolean active)
Method that activates or deactivates the particle system. |
void |
setTexture(Texture tex)
Method that sets the texture map for a particle system. |
java.lang.String |
toString()
Returns a string representation of the values of this object. |
Methods inherited from class com.cult3d.world.Node |
addChild,
addChildToRoot,
disconnect,
equals,
getChildAt,
getChildCount,
getFirstChild,
getFirstNode,
getName,
getNextSibling,
getOrientation,
getParent,
getPosition,
getTransform,
isBoundingBoxVisible,
isVisible,
nodeToWorld,
rotate,
rotate,
rotate,
rotate,
rotateDegrees,
rotateDegrees,
rotateDegrees,
rotateDegrees,
setBoundingBoxVisible,
setName,
setOrientation,
setPosition,
setTransform,
setVisible,
setVisible,
stopRotation,
stopTranslation,
translate,
translate,
translate,
translate,
worldToNode |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ParticleSystem(java.lang.String name)
name
- The name of the particle system.Method Detail |
public void setActive(boolean active)
active
- The state the particle system will change topublic boolean isActive()
public void kill()
public Texture getTexture()
public void setTexture(Texture tex)
Texture
- to usepublic java.lang.String getInfo()
Returns a string representation of the values of this object.
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D.
public java.lang.String toString()
Returns a string representation of the values of this object.
The string contains the name of the Particle system
This method is intended to be used only for debugging purposes, and the content and format of the returned string may vary between implementations and versions of Cult3D.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |