|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.sound.source.csSoundSource
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csSoundSource(iPointer nPointer)
|
|
| Method Summary | |
float |
getFrequencyFactor()
Get frequency factor. |
int |
getMode3D()
return 3d mode |
java.lang.String |
getName()
Return the name of the interface |
csVector3 |
getPosition()
get position of this source |
csVector3 |
getVelocity()
get velocity of this source |
int |
getVersion()
Return the version of the interface |
float |
getVolume()
Get volume (range from 0.0 to 1.0);. |
protected boolean |
isNativePointerValidSafe(long pointer)
|
void |
play()
Play the sound. |
void |
play(long playMethod)
Play the sound. |
void |
setFrequencyFactor(float factor)
Set frequency factor : 1 = normal, >1 faster, 0-1 slower. |
void |
setMode3D(int m)
set 3d mode |
void |
setPosition(csVector3 pos)
set position of this source |
void |
setVelocity(csVector3 spd)
set velocity of this source |
void |
setVolume(float volume)
Set volume (range from 0.0 to 1.0);. |
void |
stop()
Stop the sound. |
| Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
| Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Constructor Detail |
public csSoundSource(iPointer nPointer)
nPointer - | Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBaseiBase.getVersion()public java.lang.String getName()
iBase
getName in interface iBasegetName in class csBaseiBase.getName()protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe in class csNativeObjectcsNativeObject.isNativePointerValidSafe(long)public float getFrequencyFactor()
iSoundSource
getFrequencyFactor in interface iSoundSourceiSoundSource.getFrequencyFactor()public int getMode3D()
iSoundSource
getMode3D in interface iSoundSourceiSoundSource.getMode3D()public csVector3 getPosition()
iSoundSource
getPosition in interface iSoundSourceiSoundSource.getPosition()public csVector3 getVelocity()
iSoundSource
getVelocity in interface iSoundSourceiSoundSource.getVelocity()public float getVolume()
iSoundSource
getVolume in interface iSoundSourceiSoundSource.getVolume()public void play()
iSoundSource
play in interface iSoundSourceiSoundSource.play()public void play(long playMethod)
iSoundSource
play in interface iSoundSourceplayMethod - iSoundSource.play(long)public void setFrequencyFactor(float factor)
iSoundSource
setFrequencyFactor in interface iSoundSourcefactor - iSoundSource.setFrequencyFactor(float)public void setMode3D(int m)
iSoundSource
setMode3D in interface iSoundSourcem - iSoundSource.setMode3D(int)public void setPosition(csVector3 pos)
iSoundSource
setPosition in interface iSoundSourcepos - iSoundSource.setPosition(crystalspace.jbind.impl.csgeom.vector3.csVector3)public void setVelocity(csVector3 spd)
iSoundSource
setVelocity in interface iSoundSourcespd - iSoundSource.setVelocity(crystalspace.jbind.impl.csgeom.vector3.csVector3)public void setVolume(float volume)
iSoundSource
setVolume in interface iSoundSourcevolume - iSoundSource.setVolume(float)public void stop()
iSoundSource
stop in interface iSoundSourceiSoundSource.stop()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||