org.ogre4j
Interface IParticle

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, INativeObject, ISceneObjAllocatedObject
All Known Subinterfaces:
IParticleEmitter
All Known Implementing Classes:
Particle, ParticleEmitter

public interface IParticle
extends INativeObject, ISceneObjAllocatedObject


Method Summary
 void _notifyOwner(IParticleSystem owner)
          Internal method for notifying the particle of it's owner.
 void _notifyVisualData(IParticleVisualData vis)
          Internal method for notifying the particle of it's optional visual data.
 void getcolour(IColourValue returnValue)
           
 void getdirection(IVector3 returnValue)
           
 float getmHeight()
           
 boolean getmOwnDimensions()
           
 float getmWidth()
           
 float getOwnHeight()
          Retrieves the particle's personal width, if hasOwnDimensions is true.
 float getOwnWidth()
          Retrieves the particle's personal width, if hasOwnDimensions is true.
 Particle.ParticleType getparticleType()
           
 void getposition(IVector3 returnValue)
           
 IRadian getRotation()
           
 void getrotation(IRadian returnValue)
           
 void getrotationSpeed(IRadian returnValue)
           
 float gettimeToLive()
           
 float gettotalTimeToLive()
           
 IParticleVisualData getVisualData()
           
 boolean hasOwnDimensions()
          Returns true if this particle deviates from the ParticleSystem's default dimensions (i.e. if the particle::setDimensions method has been called for this instance).
 void resetDimensions()
           
 void setcolour(IColourValue _jni_value_)
           
 void setDimensions(float width, float height)
          Sets the width and height for this particle.
 void setdirection(IVector3 _jni_value_)
           
 void setmHeight(float _jni_value_)
           
 void setmOwnDimensions(boolean _jni_value_)
           
 void setmWidth(float _jni_value_)
           
 void setparticleType(Particle.ParticleType _jni_value_)
           
 void setposition(IVector3 _jni_value_)
           
 void setrotation(IRadian _jni_value_)
           
 void setRotation(IRadian rad)
          Sets the current rotation
 void setrotationSpeed(IRadian _jni_value_)
           
 void settimeToLive(float _jni_value_)
           
 void settotalTimeToLive(float _jni_value_)
           
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

setDimensions

void setDimensions(float width,
                   float height)
Sets the width and height for this particle.


hasOwnDimensions

boolean hasOwnDimensions()
Returns true if this particle deviates from the ParticleSystem's default dimensions (i.e. if the particle::setDimensions method has been called for this instance).


getOwnWidth

float getOwnWidth()
Retrieves the particle's personal width, if hasOwnDimensions is true.


getOwnHeight

float getOwnHeight()
Retrieves the particle's personal width, if hasOwnDimensions is true.


setRotation

void setRotation(IRadian rad)
Sets the current rotation


getRotation

IRadian getRotation()

_notifyOwner

void _notifyOwner(IParticleSystem owner)
Internal method for notifying the particle of it's owner.


_notifyVisualData

void _notifyVisualData(IParticleVisualData vis)
Internal method for notifying the particle of it's optional visual data.


getVisualData

IParticleVisualData getVisualData()

resetDimensions

void resetDimensions()

getmOwnDimensions

boolean getmOwnDimensions()

setmOwnDimensions

void setmOwnDimensions(boolean _jni_value_)

getmWidth

float getmWidth()

setmWidth

void setmWidth(float _jni_value_)

getmHeight

float getmHeight()

setmHeight

void setmHeight(float _jni_value_)

getrotation

void getrotation(IRadian returnValue)

setrotation

void setrotation(IRadian _jni_value_)

getposition

void getposition(IVector3 returnValue)

setposition

void setposition(IVector3 _jni_value_)

getdirection

void getdirection(IVector3 returnValue)

setdirection

void setdirection(IVector3 _jni_value_)

getcolour

void getcolour(IColourValue returnValue)

setcolour

void setcolour(IColourValue _jni_value_)

gettimeToLive

float gettimeToLive()

settimeToLive

void settimeToLive(float _jni_value_)

gettotalTimeToLive

float gettotalTimeToLive()

settotalTimeToLive

void settotalTimeToLive(float _jni_value_)

getrotationSpeed

void getrotationSpeed(IRadian returnValue)

setrotationSpeed

void setrotationSpeed(IRadian _jni_value_)

getparticleType

Particle.ParticleType getparticleType()

setparticleType

void setparticleType(Particle.ParticleType _jni_value_)


Copyright © 2007 netAllied GmbH. All Rights Reserved.