|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.src.Render
net.minecraft.src.RenderLiving
net.minecraft.src.RenderBillboard
public class RenderBillboard
The RenderBillboard class provides an easy way to use the ModelBillboard class by fully automating it for you. You only need to attach an entity to it, and you're pretty much set.
Constructor Summary | |
---|---|
RenderBillboard(float bbWidth,
float bbHeight)
Creates a new RenderBillboard instance. |
|
RenderBillboard(float bbWidth,
float bbHeight,
int directions,
float frameWidth,
float frameHeight,
int perRow,
float imgWidth,
float imgHeight,
float pitchScale)
Creates a new RenderBillboard instance. |
|
RenderBillboard(float bbWidth,
float bbHeight,
int directions,
float frameHeight,
int perRow,
float imgHeight)
Creates a new RenderBillboard instance. |
|
RenderBillboard(float bbWidth,
float bbHeight,
int directions,
float frameHeight,
int perRow,
float imgHeight,
float pitchScale)
Creates a new RenderBillboard instance. |
Method Summary | |
---|---|
void |
doRenderLiving(net.minecraft.src.EntityLiving entityliving,
double d,
double d1,
double d2,
float f,
float f1)
|
Methods inherited from class net.minecraft.src.RenderLiving |
---|
doRender, setRenderPassModel |
Methods inherited from class net.minecraft.src.Render |
---|
doRenderShadowAndFire, getFontRendererFromRenderManager, renderAABB, renderOffsetAABB, setRenderManager |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RenderBillboard(float bbWidth, float bbHeight)
bbWidth
- the width of the billboard in-gamebbHeight
- the height of the billboard in-gamepublic RenderBillboard(float bbWidth, float bbHeight, int directions, float frameHeight, int perRow, float imgHeight)
bbWidth
- the width of the billboard in-gamebbHeight
- the height of the billboard in-gamedirections
- the amount of directions that are setframeHeight
- the height of one frameperRow
- the amount of frames per rowimgHeight
- the total height of the imagepublic RenderBillboard(float bbWidth, float bbHeight, int directions, float frameHeight, int perRow, float imgHeight, float pitchScale)
bbWidth
- the width of the billboard in-gamebbHeight
- the height of the billboard in-gamedirections
- the amount of directions that are setframeHeight
- the height of one frameperRow
- the amount of frames per rowimgHeight
- the total height of the imagepitchScale
- the scale of the pitchpublic RenderBillboard(float bbWidth, float bbHeight, int directions, float frameWidth, float frameHeight, int perRow, float imgWidth, float imgHeight, float pitchScale)
bbWidth
- the width of the billboard in-gamebbHeight
- the height of the billboard in-gamedirections
- the amount of directions that are setframeWidth
- the width of one frameframeHeight
- the height of one frameperRow
- the amount of frames per rowimgWidth
- the total width of the imageimgHeight
- the total height of the imagepitchScale
- the scale of the pitchMethod Detail |
---|
public void doRenderLiving(net.minecraft.src.EntityLiving entityliving, double d, double d1, double d2, float f, float f1)
doRenderLiving
in class net.minecraft.src.RenderLiving
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |