Class BackgroundModel

    • Field Detail

      • transformName

        protected java.lang.String transformName
    • Constructor Detail

      • BackgroundModel

        public BackgroundModel()
    • Method Detail

      • doneLoading

        public void doneLoading​(com.badlogic.gdx.assets.AssetManager manager)
        Overrides:
        doneLoading in class FadeNode
      • addToRenderLists

        protected void addToRenderLists​(ICamera camera)
        Description copied from class: AbstractPositionEntity
        Adds this entity to the necessary render lists after the distance to the camera and the view angle have been determined.
        Overrides:
        addToRenderLists in class FadeNode
      • setTransformName

        public void setTransformName​(java.lang.String transformName)
      • setLabel

        public void setLabel​(java.lang.Boolean label)
      • setLabel2d

        public void setLabel2d​(java.lang.Boolean label2d)
      • renderText

        public boolean renderText()
        Description copied from interface: I3DTextRenderable
        Tells whether the text must be rendered or not for this entity
        Specified by:
        renderText in interface I3DTextRenderable
        Returns:
        True if text must be rendered
      • textColour

        public float[] textColour()
        Description copied from interface: I3DTextRenderable
        Returns an array with the text colour in the fashion [r, g, b, a]
        Specified by:
        textColour in interface I3DTextRenderable
        Returns:
        Array with the colour
      • textScale

        public float textScale()
        Description copied from interface: I3DTextRenderable
        Returns the text scale for the scale varying in the shader
        Specified by:
        textScale in interface I3DTextRenderable
        Returns:
        The scale
      • isLabel

        public boolean isLabel()
        Description copied from interface: I3DTextRenderable
        Is it a label or another kind of text?
        Specified by:
        isLabel in interface I3DTextRenderable
        Returns:
        Whether this is a label
      • setRendergroup

        public void setRendergroup​(java.lang.String rg)
      • setSize

        public void setSize​(java.lang.Double size)
        Description copied from class: AbstractPositionEntity
        Sets the absolute size (diameter) of this entity
        Overrides:
        setSize in class FadeNode
        Parameters:
        size - The diameter in internal units
      • setSize

        public void setSize​(java.lang.Long size)
        Description copied from class: AbstractPositionEntity
        Sets the absolute size (diameter) of this entity
        Overrides:
        setSize in class FadeNode
        Parameters:
        size - The diameter in internal units