public class Sky3d extends Primitive3d
Modifier and Type | Field and 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 |
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 |
---|
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.
|
Modifier and Type | Method and 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) |
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, getColor, getControler, getDrawCondition, getMaterialPath, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setControler, setDrawCondition, setMaterialPath, setShadowtype, setTexturePath
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
protected java.lang.String _skyFile
protected java.lang.String _skyPath
protected java.lang.String _west
protected java.lang.String _east
protected java.lang.String _north
protected java.lang.String _south
protected java.lang.String _up
protected java.lang.String _down
protected boolean _isSphere
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)
modelPath
- resource path of the modelpublic 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)
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 texturepublic void setType(int type)
setType
in class Primitive3d
type
- The type to set.public java.lang.String getSkyFile()
public void setSkyFile(java.lang.String skyFile)
_modelPath
- the _modelPath to setpublic boolean isSphere()
public void setIsSphere(java.lang.Boolean isSphere)
public java.lang.String getWest()
public void setWest(java.lang.String west)
west
- the west to setpublic java.lang.String getEast()
public void setEast(java.lang.String east)
east
- the east to setpublic java.lang.String getNorth()
public void setNorth(java.lang.String north)
north
- the north to setpublic java.lang.String getSouth()
public void setSouth(java.lang.String south)
south
- the south to setpublic java.lang.String getUp()
public void setUp(java.lang.String up)
up
- the up to setpublic java.lang.String getDown()
public void setDown(java.lang.String down)
down
- the down to setpublic java.lang.String getSkyPath()
public void setSkyPath(java.lang.String skyPath)
_skyPath
- the _skyPath to set