Class Text3d

    • Field Detail

      • _text

        protected java.lang.String _text
        Model path.
    • Constructor Detail

      • Text3d

        public Text3d​(java.lang.String text)
        Creates default Text3d.
        Parameters:
        modelPath - resource path of the model
      • Text3d

        public Text3d​(java.lang.Object position,
                      java.lang.Object rotation,
                      java.lang.Object size,
                      int absFlags,
                      java.lang.Object c,
                      java.lang.String materialpath,
                      java.lang.String texturePath,
                      java.lang.String text,
                      IParsedExpression drawcondition,
                      java.lang.String shadowtype,
                      java.util.ArrayList<SpatialControl> controler)
        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.
      • getText

        public java.lang.String getText()
        Returns the model path.
        Returns:
        The model path.
      • getReplacedText

        public static final java.lang.String getReplacedText​(DrawableCombiner3d dc,
                                                             java.lang.Object obj,
                                                             java.lang.String text,
                                                             IViewport3d vp)