Interface I3DTextRenderable

All Superinterfaces:
IRenderable
All Known Implementing Classes:
LabelView

public interface I3DTextRenderable extends IRenderable
  • Method Details Link icon

    • renderText Link icon

      boolean renderText()
      Tells whether the text must be rendered or not for this entity
      Returns:
      True if text must be rendered
    • render Link icon

      void render(ExtSpriteBatch batch, ExtShaderProgram shader, TextRenderer sys, RenderingContext rc, ICamera camera)
      Renders the text
      Parameters:
      batch - The sprite batch
      shader - The shader
      sys - The text renderer
      rc - The render context
      camera - The camera
    • textColour Link icon

      float[] textColour()
      Returns an array with the text colour in the fashion [r, g, b, a]
      Returns:
      Array with the colour
    • textSize Link icon

      float textSize()
      Returns the text size
      Returns:
      The text size
    • textScale Link icon

      float textScale()
      Returns the text scale for the scale varying in the shader
      Returns:
      The scale
    • textPosition Link icon

      void textPosition(ICamera cam, Vector3D out)
      Sets the position of this text in the out vector
      Parameters:
      out - The out parameter with the result
    • text Link icon

      String text()
      Returns the text
      Returns:
      The text
    • textDepthBuffer Link icon

      void textDepthBuffer()
      Executes the blending for the text
    • isLabel Link icon

      boolean isLabel()
      Is it a label or another kind of text?
      Returns:
      Whether this is a label
    • getTextOpacity Link icon

      float getTextOpacity()
      Gets the text opacity
      Returns:
      Text opacity