Class Sound3d
- java.lang.Object
-
- jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Sound3d
-
public class Sound3d extends Primitive3d
-
-
Field Summary
Fields Modifier and Type Field Description protected IParsedExpression
cond
protected boolean
continuosly
protected boolean
loop
protected int
numRndFiles
protected boolean
positional
protected java.lang.String
soundfile
protected double
volume
-
Fields inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
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 Summary
Constructors Constructor Description Sound3d(java.lang.String soundfile, boolean loop, double volume, boolean continuosly, boolean positional, int numRndFiles, IParsedExpression cond)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, getColor, getControler, getDrawCondition, getMaterialPath, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setControler, setDrawCondition, setMaterialPath, setShadowtype, setTexturePath, setType
-
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
-
-
-
-
Field Detail
-
soundfile
protected java.lang.String soundfile
-
loop
protected boolean loop
-
volume
protected double volume
-
continuosly
protected boolean continuosly
-
positional
protected boolean positional
-
numRndFiles
protected int numRndFiles
-
cond
protected IParsedExpression cond
-
-
Constructor Detail
-
Sound3d
public Sound3d(java.lang.String soundfile, boolean loop, double volume, boolean continuosly, boolean positional, int numRndFiles, IParsedExpression cond)
-
-
Method Detail
-
getSoundfile
public java.lang.String getSoundfile()
- Returns:
- the soundfile
-
setSoundfile
public void setSoundfile(java.lang.String soundfile)
- Parameters:
soundfile
- the soundfile to set
-
isLoop
public boolean isLoop()
- Returns:
- the loop
-
setLoop
public void setLoop(boolean loop)
- Parameters:
loop
- the loop to set
-
getVolume
public double getVolume()
- Returns:
- the volume
-
setVolume
public void setVolume(double volume)
- Parameters:
volume
- the volume to set
-
isContinuosly
public boolean isContinuosly()
- Returns:
- the continuosly
-
setContinuosly
public void setContinuosly(boolean continuosly)
- Parameters:
continuosly
- the continuosly to set
-
isPositional
public boolean isPositional()
- Returns:
- the positional
-
setPositional
public void setPositional(boolean positional)
- Parameters:
positional
- the positional to set
-
getCond
public IParsedExpression getCond()
- Returns:
- the cond
-
setCond
public void setCond(IParsedExpression cond)
- Parameters:
cond
- the cond to set
-
getNumRndFiles
public int getNumRndFiles()
- Returns:
- the numRndFiles
-
setNumRndFiles
public void setNumRndFiles(int numRndFiles)
- Parameters:
numRndFiles
- the numRndFiles to set
-
-