public abstract class Billboard extends Object
| Modifier | Constructor | Description |
|---|---|---|
protected |
Billboard() |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
float |
getHeight() |
|
be.yildizgames.common.geometry.Point3D |
getPosition() |
|
float |
getWidth() |
|
abstract void |
setColor(Color color) |
Set the billboard individual color.
|
void |
setPosition(be.yildizgames.common.geometry.Point3D newPosition) |
Update the plane position.
|
protected abstract void |
setPositionImpl(be.yildizgames.common.geometry.Point3D position) |
Set the position in implementation.
|
void |
setSize(float newWidth,
float newHeight) |
Update the plane size.
|
protected abstract void |
setSizeImpl(float newWidth,
float newHeight) |
Set the size in implementation.
|
public final void setSize(float newWidth,
float newHeight)
newWidth - New width.newHeight - New height.public final be.yildizgames.common.geometry.Point3D getPosition()
public final void setPosition(be.yildizgames.common.geometry.Point3D newPosition)
newPosition - New position.public final float getWidth()
public final float getHeight()
public abstract void setColor(Color color)
color - Color to set.protected abstract void setPositionImpl(be.yildizgames.common.geometry.Point3D position)
position - New position.protected abstract void setSizeImpl(float newWidth,
float newHeight)
newWidth - New width.newHeight - New height.Copyright © 2014–2018. All rights reserved.