Class Sky3d
- java.lang.Object
-
- jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Sky3d
-
public class Sky3d extends Primitive3d
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
_down
protected java.lang.String
_east
protected boolean
_isSphere
protected java.lang.String
_north
protected java.lang.String
_skyFile
Skyfile (one File).protected java.lang.String
_skyPath
Alternate: 6 Files for each Direction.protected java.lang.String
_south
protected java.lang.String
_up
protected java.lang.String
_west
-
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 Sky3d(java.lang.String skyFile, java.lang.Boolean isSphere, java.lang.String skyPath, java.lang.String west, java.lang.String east, java.lang.String north, java.lang.String south, java.lang.String up, java.lang.String down)
Creates default Polygon.Sky3d(java.lang.String skyFile, java.lang.Boolean isSphere, java.lang.String skyPath, java.lang.String west, java.lang.String east, java.lang.String north, java.lang.String south, java.lang.String up, java.lang.String down, IParsedExpression drawcondition)
Creates a new Polygon drawable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDown()
java.lang.String
getEast()
java.lang.String
getNorth()
java.lang.String
getSkyFile()
java.lang.String
getSkyPath()
java.lang.String
getSouth()
java.lang.String
getUp()
java.lang.String
getWest()
boolean
isSphere()
void
setDown(java.lang.String down)
void
setEast(java.lang.String east)
void
setIsSphere(java.lang.Boolean isSphere)
void
setNorth(java.lang.String north)
void
setSkyFile(java.lang.String skyFile)
void
setSkyPath(java.lang.String skyPath)
void
setSouth(java.lang.String south)
void
setType(int type)
Set the primitive type (Disabled).void
setUp(java.lang.String up)
void
setWest(java.lang.String west)
-
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
-
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
-
-
-
-
Field Detail
-
_skyFile
protected java.lang.String _skyFile
Skyfile (one File).
-
_skyPath
protected java.lang.String _skyPath
Alternate: 6 Files for each Direction.
-
_west
protected java.lang.String _west
-
_east
protected java.lang.String _east
-
_north
protected java.lang.String _north
-
_south
protected java.lang.String _south
-
_up
protected java.lang.String _up
-
_down
protected java.lang.String _down
-
_isSphere
protected boolean _isSphere
-
-
Constructor Detail
-
Sky3d
public Sky3d(java.lang.String skyFile, java.lang.Boolean isSphere, java.lang.String skyPath, java.lang.String west, java.lang.String east, java.lang.String north, java.lang.String south, java.lang.String up, java.lang.String down)
Creates default Polygon.- Parameters:
modelPath
- resource path of the model
-
Sky3d
public Sky3d(java.lang.String skyFile, java.lang.Boolean isSphere, java.lang.String skyPath, java.lang.String west, java.lang.String east, java.lang.String north, java.lang.String south, java.lang.String up, java.lang.String down, IParsedExpression drawcondition)
Creates a new Polygon drawable.- Parameters:
position
- position or position-bindingxrotation
- xrotation or rotation-bindingyrotation
- yrotation or rotation-bindingzrotation
- zrotation or rotation-bindingsize
- size or size-bindingabsFlags
- flags for setting position, size and rotation as absolutesc
- modulation color or bindingmodelPath
- resource path of the texture
-
-
Method Detail
-
setType
public void setType(int type)
Set the primitive type (Disabled).- Overrides:
setType
in classPrimitive3d
- Parameters:
type
- The type to set.
-
getSkyFile
public java.lang.String getSkyFile()
- Returns:
- the _modelPath
-
setSkyFile
public void setSkyFile(java.lang.String skyFile)
- Parameters:
_modelPath
- the _modelPath to set
-
isSphere
public boolean isSphere()
-
setIsSphere
public void setIsSphere(java.lang.Boolean isSphere)
-
getWest
public java.lang.String getWest()
- Returns:
- the west
-
setWest
public void setWest(java.lang.String west)
- Parameters:
west
- the west to set
-
getEast
public java.lang.String getEast()
- Returns:
- the east
-
setEast
public void setEast(java.lang.String east)
- Parameters:
east
- the east to set
-
getNorth
public java.lang.String getNorth()
- Returns:
- the north
-
setNorth
public void setNorth(java.lang.String north)
- Parameters:
north
- the north to set
-
getSouth
public java.lang.String getSouth()
- Returns:
- the south
-
setSouth
public void setSouth(java.lang.String south)
- Parameters:
south
- the south to set
-
getUp
public java.lang.String getUp()
- Returns:
- the up
-
setUp
public void setUp(java.lang.String up)
- Parameters:
up
- the up to set
-
getDown
public java.lang.String getDown()
- Returns:
- the down
-
setDown
public void setDown(java.lang.String down)
- Parameters:
down
- the down to set
-
getSkyPath
public java.lang.String getSkyPath()
- Returns:
- the _skyPath
-
setSkyPath
public void setSkyPath(java.lang.String skyPath)
- Parameters:
_skyPath
- the _skyPath to set
-
-