public class Sky3d 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 |
---|
Sky3d(String skyFile,
Boolean isSphere,
String skyPath,
String west,
String east,
String north,
String south,
String up,
String down)
Creates default Polygon.
|
Sky3d(String skyFile,
Boolean isSphere,
String skyPath,
String west,
String east,
String north,
String south,
String up,
String down,
IParsedExpression drawcondition)
Creates a new Polygon drawable.
|
Modifier and Type | Method and Description |
---|---|
String |
getDown() |
String |
getEast() |
String |
getNorth() |
String |
getSkyFile() |
String |
getSkyPath() |
String |
getSouth() |
String |
getUp() |
String |
getWest() |
boolean |
isSphere() |
void |
setDown(String down) |
void |
setEast(String east) |
void |
setIsSphere(Boolean isSphere) |
void |
setNorth(String north) |
void |
setSkyFile(String skyFile) |
void |
setSkyPath(String skyPath) |
void |
setSouth(String south) |
void |
setType(int type)
Set the primitive type (Disabled).
|
void |
setUp(String up) |
void |
setWest(String west) |
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, getColor, getDrawCondition, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setDrawCondition, setShadowtype, setTexturePath
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, isCreated, setCreated, setPosition, setRotation, setSize
public Sky3d(String skyFile, Boolean isSphere, String skyPath, String west, String east, String north, String south, String up, String down)
modelPath
- resource path of the modelpublic Sky3d(String skyFile, Boolean isSphere, String skyPath, String west, String east, String north, String south, String up, 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 String getSkyFile()
public void setSkyFile(String skyFile)
_modelPath
- the _modelPath to setpublic boolean isSphere()
public void setIsSphere(Boolean isSphere)
public String getWest()
public void setWest(String west)
west
- the west to setpublic String getEast()
public void setEast(String east)
east
- the east to setpublic String getNorth()
public void setNorth(String north)
north
- the north to setpublic String getSouth()
public void setSouth(String south)
south
- the south to setpublic String getUp()
public void setUp(String up)
up
- the up to setpublic String getDown()
public void setDown(String down)
down
- the down to setpublic String getSkyPath()
public void setSkyPath(String skyPath)
_skyPath
- the _skyPath to setCopyright © 2012. All Rights Reserved.