Class Sky3d

    • 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-binding
        xrotation - xrotation or rotation-binding
        yrotation - yrotation or rotation-binding
        zrotation - zrotation or rotation-binding
        size - size or size-binding
        absFlags - flags for setting position, size and rotation as absolutes
        c - modulation color or binding
        modelPath - resource path of the texture
    • Method Detail

      • setType

        public void setType​(int type)
        Set the primitive type (Disabled).
        Overrides:
        setType in class Primitive3d
        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