public class Sound3d extends Primitive3d
ABSOLUTE_POSITION, ABSOLUTE_ROTATION, ABSOLUTE_SIZE, PRIMITIVE_TYPE_ARROW, PRIMITIVE_TYPE_BOX, PRIMITIVE_TYPE_CYLINDER, PRIMITIVE_TYPE_DIRECTIONALLIGHT, PRIMITIVE_TYPE_DOME, PRIMITIVE_TYPE_EFFECT, PRIMITIVE_TYPE_OBJECT3D, PRIMITIVE_TYPE_POINTLIGHT, PRIMITIVE_TYPE_QUAD, PRIMITIVE_TYPE_SKY, PRIMITIVE_TYPE_SOUND, PRIMITIVE_TYPE_SPHERE, PRIMITIVE_TYPE_TERRAIN, PRIMITIVE_TYPE_TEXT3D, PRIMITIVE_TYPE_TORUS, SHADOW_CAST, SHADOW_OFF, SHADOW_RECEIVE
Constructor and Description |
---|
Sound3d(String soundfile,
boolean loop,
double volume,
boolean continuosly,
boolean positional,
int numRndFiles,
IParsedExpression cond) |
Modifier and Type | Method and Description |
---|---|
IParsedExpression |
getCond() |
int |
getNumRndFiles() |
String |
getSoundfile() |
double |
getVolume() |
boolean |
isContinuosly() |
boolean |
isLoop() |
boolean |
isPositional() |
void |
setCond(IParsedExpression cond) |
void |
setContinuosly(boolean continuosly) |
void |
setLoop(boolean loop) |
void |
setNumRndFiles(int numRndFiles) |
void |
setPositional(boolean positional) |
void |
setSoundfile(String soundfile) |
void |
setVolume(double volume) |
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, getColor, getControler, getDrawCondition, getMaterialPath, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setControler, setDrawCondition, setMaterialPath, setShadowtype, setTexturePath, setType
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
public Sound3d(String soundfile, boolean loop, double volume, boolean continuosly, boolean positional, int numRndFiles, IParsedExpression cond)
public String getSoundfile()
public void setSoundfile(String soundfile)
soundfile
- the soundfile to setpublic boolean isLoop()
public void setLoop(boolean loop)
loop
- the loop to setpublic double getVolume()
public void setVolume(double volume)
volume
- the volume to setpublic boolean isContinuosly()
public void setContinuosly(boolean continuosly)
continuosly
- the continuosly to setpublic boolean isPositional()
public void setPositional(boolean positional)
positional
- the positional to setpublic IParsedExpression getCond()
public void setCond(IParsedExpression cond)
cond
- the cond to setpublic int getNumRndFiles()
public void setNumRndFiles(int numRndFiles)
numRndFiles
- the numRndFiles to setCopyright © 2013. All Rights Reserved.