public class Sound3d extends Primitive3d
Modifier and Type | Field and Description |
---|---|
protected IParsedExpression |
cond |
protected boolean |
continuosly |
protected boolean |
loop |
protected int |
numRndFiles |
protected boolean |
positional |
protected java.lang.String |
soundfile |
protected double |
volume |
ABSOLUTE_POSITION, ABSOLUTE_ROTATION, ABSOLUTE_SIZE, color_, drawcondition, enableDCPos, enableDCRot, enableDCSize, materialPath_, 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, renderinfos, SHADOW_CAST, SHADOW_OFF, SHADOW_RECEIVE, shadowtype, texturePath_, type
Constructor and Description |
---|
Sound3d(java.lang.String soundfile,
boolean loop,
double volume,
boolean continuosly,
boolean positional,
int numRndFiles,
IParsedExpression cond) |
Modifier and Type | Method and Description |
---|---|
IParsedExpression |
getCond() |
int |
getNumRndFiles() |
java.lang.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(java.lang.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
protected java.lang.String soundfile
protected boolean loop
protected double volume
protected boolean continuosly
protected boolean positional
protected int numRndFiles
protected IParsedExpression cond
public Sound3d(java.lang.String soundfile, boolean loop, double volume, boolean continuosly, boolean positional, int numRndFiles, IParsedExpression cond)
public java.lang.String getSoundfile()
public void setSoundfile(java.lang.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 set