org.ogre4j
Interface IBillboard

All Superinterfaces:
IAllocatedObject<ISceneObjAllocPolicy>, INativeObject, ISceneObjAllocatedObject
All Known Implementing Classes:
Billboard

public interface IBillboard
extends INativeObject, ISceneObjAllocatedObject


Method Summary
 void _notifyOwner(IBillboardSet owner)
          Internal method for notifying the billboard of it's owner.
 IColourValue getColour()
          Gets the colour of this billboard.
 void getmColour(IColourValue returnValue)
           
 void getmDirection(IVector3 returnValue)
           
 IBillboardSet getmParentSet()
           
 void getmPosition(IVector3 returnValue)
           
 void getmRotation(IRadian returnValue)
           
 float getOwnHeight()
          Retrieves the billboard's personal width, if hasOwnDimensions is true.
 float getOwnWidth()
          Retrieves the billboard's personal width, if hasOwnDimensions is true.
 IVector3 getPosition()
          Get the position of the billboard.
 IRadian getRotation()
          Get the rotation of the billboard.
 int getTexcoordIndex()
          returns the previous value set by .
 IFloatRect getTexcoordRect()
          returns the previous value set by .
 boolean hasOwnDimensions()
          Returns true if this billboard deviates from the BillboardSet's default dimensions (i.e. if the method has been called for this instance).
 boolean isUseTexcoordRect()
          Returns true if this billboard use individual texture coordinate rect (i.e. if the method has been called for this instance), or returns false if use texture coordinates defined in the parent BillboardSet's texture coordinates array (i.e. if the method has been called for this instance).
 void resetDimensions()
          Resets this to use the parent BillboardSet's dimensions instead of it's own.
 void setColour(IColourValue colour)
          Sets the colour of this billboard.
 void setDimensions(float width, float height)
          Sets the width and height for this billboard.
 void setmColour(IColourValue _jni_value_)
           
 void setmDirection(IVector3 _jni_value_)
           
 void setmParentSet(IBillboardSet _jni_value_)
           
 void setmPosition(IVector3 _jni_value_)
           
 void setmRotation(IRadian _jni_value_)
           
 void setPosition(float x, float y, float z)
          Set the position of the billboard.
 void setPosition(IVector3 position)
          Set the position of the billboard.
 void setRotation(IRadian rotation)
          Set the rotation of the billboard.
 void setTexcoordIndex(int texcoordIndex)
          sets which texture coordinate rect this billboard will use when rendering.
 void setTexcoordRect(float u0, float v0, float u1, float v1)
          sets the individual texture coordinate rect of this billboard will use when rendering.
 void setTexcoordRect(IFloatRect texcoordRect)
          sets the individual texture coordinate rect of this billboard will use when rendering.
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

getRotation

IRadian getRotation()
Get the rotation of the billboard.


setRotation

void setRotation(IRadian rotation)
Set the rotation of the billboard.


setPosition

void setPosition(IVector3 position)
Set the position of the billboard.


setPosition

void setPosition(float x,
                 float y,
                 float z)
Set the position of the billboard.


getPosition

IVector3 getPosition()
Get the position of the billboard.


setDimensions

void setDimensions(float width,
                   float height)
Sets the width and height for this billboard.


resetDimensions

void resetDimensions()
Resets this to use the parent BillboardSet's dimensions instead of it's own.


setColour

void setColour(IColourValue colour)
Sets the colour of this billboard.


getColour

IColourValue getColour()
Gets the colour of this billboard.


hasOwnDimensions

boolean hasOwnDimensions()
Returns true if this billboard deviates from the BillboardSet's default dimensions (i.e. if the method has been called for this instance).


getOwnWidth

float getOwnWidth()
Retrieves the billboard's personal width, if hasOwnDimensions is true.


getOwnHeight

float getOwnHeight()
Retrieves the billboard's personal width, if hasOwnDimensions is true.


_notifyOwner

void _notifyOwner(IBillboardSet owner)
Internal method for notifying the billboard of it's owner.


isUseTexcoordRect

boolean isUseTexcoordRect()
Returns true if this billboard use individual texture coordinate rect (i.e. if the method has been called for this instance), or returns false if use texture coordinates defined in the parent BillboardSet's texture coordinates array (i.e. if the method has been called for this instance).


setTexcoordIndex

void setTexcoordIndex(int texcoordIndex)
sets which texture coordinate rect this billboard will use when rendering. The parent billboard set may contain more than one, in which case a billboard can be textured with different pieces of a larger texture sheet very efficiently.


getTexcoordIndex

int getTexcoordIndex()
returns the previous value set by . The default value is 0, which is always a valid texture coordinate set.


setTexcoordRect

void setTexcoordRect(IFloatRect texcoordRect)
sets the individual texture coordinate rect of this billboard will use when rendering. The parent billboard set may contain more than one, in which case a billboard can be textured with different pieces of a larger texture sheet very efficiently.


setTexcoordRect

void setTexcoordRect(float u0,
                     float v0,
                     float u1,
                     float v1)
sets the individual texture coordinate rect of this billboard will use when rendering. The parent billboard set may contain more than one, in which case a billboard can be textured with different pieces of a larger texture sheet very efficiently.


getTexcoordRect

IFloatRect getTexcoordRect()
returns the previous value set by .


getmPosition

void getmPosition(IVector3 returnValue)

setmPosition

void setmPosition(IVector3 _jni_value_)

getmDirection

void getmDirection(IVector3 returnValue)

setmDirection

void setmDirection(IVector3 _jni_value_)

getmParentSet

IBillboardSet getmParentSet()

setmParentSet

void setmParentSet(IBillboardSet _jni_value_)

getmColour

void getmColour(IColourValue returnValue)

setmColour

void setmColour(IColourValue _jni_value_)

getmRotation

void getmRotation(IRadian returnValue)

setmRotation

void setmRotation(IRadian _jni_value_)


Copyright © 2007 netAllied GmbH. All Rights Reserved.