Interface BillboardChain


  • public interface BillboardChain
    Billboards attached together.
    Author:
    Grégory Van den Borre
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addElement​(be.yildizgames.common.geometry.Point3D pos, float elementWidth)
      Add a new element to the chain.
      void delete()
      Delete the object.
      void setElementPosition​(int listPos, be.yildizgames.common.geometry.Point3D pos)
      Set an element position.
      void setMaterial​(Material material)
      Set the billboards material.
      void setPosition​(be.yildizgames.common.geometry.Point3D position)
      Set the chain position.
      void setPosition​(be.yildizgames.common.geometry.Point3D position, be.yildizgames.common.geometry.Point3D position2)  
      void start()  
      void stop()  
    • Method Detail

      • setMaterial

        void setMaterial​(Material material)
        Set the billboards material.
        Parameters:
        material - New material to use.
      • setPosition

        void setPosition​(be.yildizgames.common.geometry.Point3D position)
        Set the chain position.
        Parameters:
        position - New chain position.
      • addElement

        void addElement​(be.yildizgames.common.geometry.Point3D pos,
                        float elementWidth)
        Add a new element to the chain.
        Parameters:
        pos - Element position.
        elementWidth - Billboard width.
      • setElementPosition

        void setElementPosition​(int listPos,
                                be.yildizgames.common.geometry.Point3D pos)
        Set an element position.
        Parameters:
        listPos - Element in the chain.
        pos - Element new position.
      • stop

        void stop()
      • start

        void start()
      • setPosition

        void setPosition​(be.yildizgames.common.geometry.Point3D position,
                         be.yildizgames.common.geometry.Point3D position2)
      • delete

        void delete()
        Delete the object.