Class Text3d.Label

java.lang.Object
heronarts.glx.shader.Text3d.Label
Enclosing class:
Text3d

public class Text3d.Label extends Object
  • Method Details

    • setLabel

      public Text3d.Label setLabel(String label)
    • setTextFont

      public Text3d.Label setTextFont(Text3d.TextFont textFont)
    • isVisible

      public boolean isVisible()
    • setVisible

      public Text3d.Label setVisible(boolean visible)
    • setPosition

      public Text3d.Label setPosition(org.joml.Vector3f position)
      Position of the label in world-space
      Parameters:
      position - Position in world-space
      Returns:
      this
    • setPosition

      public Text3d.Label setPosition(float x, float y, float z)
      Position of the label in world-space
      Parameters:
      x - World-space x-coordinate
      y - World-space y-coordinate
      z - World-space z-coordinate
      Returns:
      this
    • setOrientation

      public Text3d.Label setOrientation(Text3d.TextOrientation textOrientation)
    • setTextSize

      public Text3d.Label setTextSize(float textSize)
      Sets the text size, which is either in world-units or scaled UI pixel units according to the TextScale setting
      Parameters:
      textSize - Text size, interpreted according to TextScale
      Returns:
    • setTextScale

      public Text3d.Label setTextScale(Text3d.TextScale textScale)
    • setHorizontalAlignment

      public Text3d.Label setHorizontalAlignment(Text3d.HorizontalAlignment horizontalAlignment)
    • setVerticalAlignment

      public Text3d.Label setVerticalAlignment(Text3d.VerticalAlignment verticalAlignment)
    • setDepthTest

      public Text3d.Label setDepthTest(boolean depthTest)
    • setTextColorARGB

      public Text3d.Label setTextColorARGB(int textColorARGB)
    • setBackgroundColorARGB

      public Text3d.Label setBackgroundColorARGB(int backgroundColorARGB)
    • draw

      public void draw(UI ui, View view)
    • dispose

      public void dispose()