Package jni

Class JniBillboardSet


  • public class JniBillboardSet
    extends Object
    Author:
    Grégory Van den Borre
    • Constructor Detail

      • JniBillboardSet

        public JniBillboardSet()
    • Method Detail

      • createBillboard

        public long createBillboard​(long pointer)
        Create a new Billboard in native code.
        Parameters:
        pointer - The billboard set native object pointer address.
        Returns:
        The newly built billboard native object pointer address.
      • setSize

        public void setSize​(long address,
                            float width,
                            float height)
        Set the default size in native code.
        Parameters:
        address - The Ogre::BillboardSet pointer address.
        width - New default width in pixel.
        height - New default height in pixels.
      • remove

        public void remove​(long pointer,
                           long billboardPointer)
        Remove a billboard from the set.
        Parameters:
        pointer - The Ogre::BillboardSet pointer address.
        billboardPointer - The Ogre::Billboard to remove pointer address.
      • attachToNode

        public void attachToNode​(long pointer,
                                 long nodePointer)
        Attach the set to a node.
        Parameters:
        pointer - Set pointer address.
        nodePointer - Node address.
      • show

        public void show​(long pointerAddress)
        Set the set visible.
        Parameters:
        pointerAddress - Set pointer address.
      • hide

        public void hide​(long pointerAddress)
        Set the set invisible.
        Parameters:
        pointerAddress - Set pointer address.