public class RendererModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
boxName |
java.util.List<RendererModel> |
childModels |
java.util.List<ModelBox> |
cubeList |
boolean |
isHidden |
boolean |
mirror |
float |
offsetX |
float |
offsetY |
float |
offsetZ |
float |
rotateAngleX |
float |
rotateAngleY |
float |
rotateAngleZ |
float |
rotationPointX |
float |
rotationPointY |
float |
rotationPointZ |
boolean |
showModel |
float |
textureHeight |
float |
textureWidth |
Constructor and Description |
---|
RendererModel(Model model) |
RendererModel(Model model,
int texOffX,
int texOffY) |
RendererModel(Model model,
java.lang.String boxNameIn) |
Modifier and Type | Method and Description |
---|---|
RendererModel |
addBox(float offX,
float offY,
float offZ,
int width,
int height,
int depth) |
RendererModel |
addBox(float offX,
float offY,
float offZ,
int width,
int height,
int depth,
boolean mirrored) |
void |
addBox(float offX,
float offY,
float offZ,
int width,
int height,
int depth,
float scaleFactor) |
void |
addBox(float offX,
float offY,
float offZ,
int width,
int height,
int depth,
float scaleFactor,
boolean mirrorIn) |
void |
addChild(RendererModel renderer) |
void |
copyModelAngles(RendererModel p_217177_1_) |
RendererModel |
func_217178_a(java.lang.String p_217178_1_,
float p_217178_2_,
float p_217178_3_,
float p_217178_4_,
int p_217178_5_,
int p_217178_6_,
int p_217178_7_,
float p_217178_8_,
int p_217178_9_,
int p_217178_10_) |
void |
postRender(float scale) |
void |
removeChild(RendererModel p_217179_1_) |
void |
render(float scale) |
void |
renderWithRotation(float scale) |
void |
setRotationPoint(float rotationPointXIn,
float rotationPointYIn,
float rotationPointZIn) |
RendererModel |
setTextureOffset(int x,
int y) |
RendererModel |
setTextureSize(int textureWidthIn,
int textureHeightIn) |
public float textureWidth
public float textureHeight
public float rotationPointX
public float rotationPointY
public float rotationPointZ
public float rotateAngleX
public float rotateAngleY
public float rotateAngleZ
public boolean mirror
public boolean showModel
public boolean isHidden
public final java.util.List<ModelBox> cubeList
public java.util.List<RendererModel> childModels
public final java.lang.String boxName
public float offsetX
public float offsetY
public float offsetZ
public RendererModel(Model model, java.lang.String boxNameIn)
public RendererModel(Model model)
public RendererModel(Model model, int texOffX, int texOffY)
public void copyModelAngles(RendererModel p_217177_1_)
public void addChild(RendererModel renderer)
public void removeChild(RendererModel p_217179_1_)
public RendererModel setTextureOffset(int x, int y)
public RendererModel func_217178_a(java.lang.String p_217178_1_, float p_217178_2_, float p_217178_3_, float p_217178_4_, int p_217178_5_, int p_217178_6_, int p_217178_7_, float p_217178_8_, int p_217178_9_, int p_217178_10_)
public RendererModel addBox(float offX, float offY, float offZ, int width, int height, int depth)
public RendererModel addBox(float offX, float offY, float offZ, int width, int height, int depth, boolean mirrored)
public void addBox(float offX, float offY, float offZ, int width, int height, int depth, float scaleFactor)
public void addBox(float offX, float offY, float offZ, int width, int height, int depth, float scaleFactor, boolean mirrorIn)
public void setRotationPoint(float rotationPointXIn, float rotationPointYIn, float rotationPointZIn)
public void render(float scale)
public void renderWithRotation(float scale)
public void postRender(float scale)
public RendererModel setTextureSize(int textureWidthIn, int textureHeightIn)