Package jni
Class JniBillboardSet
- java.lang.Object
-
- jni.JniBillboardSet
-
public class JniBillboardSet extends Object
- Author:
- Grégory Van den Borre
-
-
Constructor Summary
Constructors Constructor Description JniBillboardSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachToNode(long pointer, long nodePointer)
Attach the set to a node.long
createBillboard(long pointer)
Create a new Billboard in native code.void
hide(long pointerAddress)
Set the set invisible.void
remove(long pointer, long billboardPointer)
Remove a billboard from the set.void
setSize(long address, float width, float height)
Set the default size in native code.void
show(long pointerAddress)
Set the set visible.
-
-
-
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.
-
-