|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBillboard
| 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 |
|---|
IRadian getRotation()
void setRotation(IRadian rotation)
void setPosition(IVector3 position)
void setPosition(float x,
float y,
float z)
IVector3 getPosition()
void setDimensions(float width,
float height)
void resetDimensions()
void setColour(IColourValue colour)
IColourValue getColour()
boolean hasOwnDimensions()
float getOwnWidth()
float getOwnHeight()
void _notifyOwner(IBillboardSet owner)
boolean isUseTexcoordRect()
void setTexcoordIndex(int texcoordIndex)
int getTexcoordIndex()
void setTexcoordRect(IFloatRect texcoordRect)
void setTexcoordRect(float u0,
float v0,
float u1,
float v1)
IFloatRect getTexcoordRect()
void getmPosition(IVector3 returnValue)
void setmPosition(IVector3 _jni_value_)
void getmDirection(IVector3 returnValue)
void setmDirection(IVector3 _jni_value_)
IBillboardSet getmParentSet()
void setmParentSet(IBillboardSet _jni_value_)
void getmColour(IColourValue returnValue)
void setmColour(IColourValue _jni_value_)
void getmRotation(IRadian returnValue)
void setmRotation(IRadian _jni_value_)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||