public class Sound3d extends Primitive3d
ABSOLUTE_POSITION, ABSOLUTE_ROTATION, ABSOLUTE_SIZE, PRIMITIVE_TYPE_ARROW, PRIMITIVE_TYPE_BOX, PRIMITIVE_TYPE_CYLINDER, PRIMITIVE_TYPE_DOME, PRIMITIVE_TYPE_OBJECT3D, 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,
IParsedExpression cond) |
| Modifier and Type | Method and Description |
|---|---|
IParsedExpression |
getCond() |
String |
getSoundfile() |
double |
getVolume() |
boolean |
isContinuosly() |
boolean |
isLoop() |
boolean |
isPositional() |
void |
setCond(IParsedExpression cond) |
void |
setContinuosly(boolean continuosly) |
void |
setLoop(boolean loop) |
void |
setPositional(boolean positional) |
void |
setSoundfile(String soundfile) |
void |
setVolume(double volume) |
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, getColor, getDrawCondition, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setDrawCondition, setShadowtype, setTexturePath, setTypebindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, isCreated, setCreated, setPosition, setRotation, setSizepublic Sound3d(String soundfile, boolean loop, double volume, boolean continuosly, boolean positional, 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 setCopyright © 2012. All Rights Reserved.