|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xbig.base.NativeObject
org.ogre4j.Particle
public class Particle
| Nested Class Summary | |
|---|---|
static class |
Particle.ParticleType
|
| Field Summary |
|---|
| Fields inherited from class org.xbig.base.NativeObject |
|---|
deleted, object, remote |
| Constructor Summary | |
|---|---|
|
Particle()
|
|
Particle(InstancePointer p)
This constructor is public for internal useage only! |
protected |
Particle(InstancePointer p,
boolean remote)
Creates a Java wrapper object for an existing C++ object. |
|
Particle(WithoutNativeObject val)
Allows creation of Java objects without C++ objects. |
| 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 |
delete()
Deletes the corresponding C++ object. |
void |
finalize()
|
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 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 Particle(InstancePointer p)
protected Particle(InstancePointer p,
boolean remote)
public Particle(WithoutNativeObject val)
WithoutNativeObject,
INativeObject.disconnectFromNativeObject()public Particle()
| 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 NativeObject
public void setDimensions(float width,
float height)
setDimensions in interface IParticlepublic boolean hasOwnDimensions()
hasOwnDimensions in interface IParticlepublic float getOwnWidth()
getOwnWidth in interface IParticlepublic float getOwnHeight()
getOwnHeight in interface IParticlepublic void setRotation(IRadian rad)
setRotation in interface IParticlepublic IRadian getRotation()
getRotation in interface IParticlepublic void _notifyOwner(IParticleSystem owner)
_notifyOwner in interface IParticlepublic void _notifyVisualData(IParticleVisualData vis)
_notifyVisualData in interface IParticlepublic IParticleVisualData getVisualData()
getVisualData in interface IParticlepublic void resetDimensions()
resetDimensions in interface IParticlepublic boolean getmOwnDimensions()
getmOwnDimensions in interface IParticlepublic void setmOwnDimensions(boolean _jni_value_)
setmOwnDimensions in interface IParticlepublic float getmWidth()
getmWidth in interface IParticlepublic void setmWidth(float _jni_value_)
setmWidth in interface IParticlepublic float getmHeight()
getmHeight in interface IParticlepublic void setmHeight(float _jni_value_)
setmHeight in interface IParticlepublic void getrotation(IRadian returnValue)
getrotation in interface IParticlepublic void setrotation(IRadian _jni_value_)
setrotation in interface IParticlepublic void getposition(IVector3 returnValue)
getposition in interface IParticlepublic void setposition(IVector3 _jni_value_)
setposition in interface IParticlepublic void getdirection(IVector3 returnValue)
getdirection in interface IParticlepublic void setdirection(IVector3 _jni_value_)
setdirection in interface IParticlepublic void getcolour(IColourValue returnValue)
getcolour in interface IParticlepublic void setcolour(IColourValue _jni_value_)
setcolour in interface IParticlepublic float gettimeToLive()
gettimeToLive in interface IParticlepublic void settimeToLive(float _jni_value_)
settimeToLive in interface IParticlepublic float gettotalTimeToLive()
gettotalTimeToLive in interface IParticlepublic void settotalTimeToLive(float _jni_value_)
settotalTimeToLive in interface IParticlepublic void getrotationSpeed(IRadian returnValue)
getrotationSpeed in interface IParticlepublic void setrotationSpeed(IRadian _jni_value_)
setrotationSpeed in interface IParticlepublic Particle.ParticleType getparticleType()
getparticleType in interface IParticlepublic void setparticleType(Particle.ParticleType _jni_value_)
setparticleType in interface IParticle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||