Interface BillboardChain
-
public interface BillboardChainBillboards attached together.- Author:
- Grégory Van den Borre
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddElement(be.yildizgames.common.geometry.Point3D pos, float elementWidth)Add a new element to the chain.voiddelete()Delete the object.voidsetElementPosition(int listPos, be.yildizgames.common.geometry.Point3D pos)Set an element position.voidsetMaterial(Material material)Set the billboards material.voidsetPosition(be.yildizgames.common.geometry.Point3D position)Set the chain position.voidsetPosition(be.yildizgames.common.geometry.Point3D position, be.yildizgames.common.geometry.Point3D position2)voidstart()voidstop()
-
-
-
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.
-
-