|
|||||||||||
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 iBase
getVersion
in class csBase
iBase.getVersion()
public java.lang.String getName()
iBase
getName
in interface iBase
getName
in class csBase
iBase.getName()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe
in class csNativeObject
csNativeObject.isNativePointerValidSafe(long)
public float getFrequencyFactor()
iSoundSource
getFrequencyFactor
in interface iSoundSource
iSoundSource.getFrequencyFactor()
public int getMode3D()
iSoundSource
getMode3D
in interface iSoundSource
iSoundSource.getMode3D()
public csVector3 getPosition()
iSoundSource
getPosition
in interface iSoundSource
iSoundSource.getPosition()
public csVector3 getVelocity()
iSoundSource
getVelocity
in interface iSoundSource
iSoundSource.getVelocity()
public float getVolume()
iSoundSource
getVolume
in interface iSoundSource
iSoundSource.getVolume()
public void play()
iSoundSource
play
in interface iSoundSource
iSoundSource.play()
public void play(long playMethod)
iSoundSource
play
in interface iSoundSource
playMethod
- iSoundSource.play(long)
public void setFrequencyFactor(float factor)
iSoundSource
setFrequencyFactor
in interface iSoundSource
factor
- iSoundSource.setFrequencyFactor(float)
public void setMode3D(int m)
iSoundSource
setMode3D
in interface iSoundSource
m
- iSoundSource.setMode3D(int)
public void setPosition(csVector3 pos)
iSoundSource
setPosition
in interface iSoundSource
pos
- iSoundSource.setPosition(crystalspace.jbind.impl.csgeom.vector3.csVector3)
public void setVelocity(csVector3 spd)
iSoundSource
setVelocity
in interface iSoundSource
spd
- iSoundSource.setVelocity(crystalspace.jbind.impl.csgeom.vector3.csVector3)
public void setVolume(float volume)
iSoundSource
setVolume
in interface iSoundSource
volume
- iSoundSource.setVolume(float)
public void stop()
iSoundSource
stop
in interface iSoundSource
iSoundSource.stop()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |