public class BakedQuad extends java.lang.Object implements IVertexProducer
| 修飾子とタイプ | フィールドと説明 |
|---|---|
protected boolean |
applyDiffuseLighting |
protected Direction |
face |
protected TextureAtlasSprite |
sprite |
protected int |
tintIndex |
protected int[] |
vertexData
Joined 4 vertex records, each stores packed data according to the VertexFormat of the quad.
|
| コンストラクタと説明 |
|---|
BakedQuad(int[] vertexDataIn,
int tintIndexIn,
Direction faceIn,
TextureAtlasSprite spriteIn)
非推奨です。
Use constructor with the format argument.
|
BakedQuad(int[] vertexDataIn,
int tintIndexIn,
Direction faceIn,
TextureAtlasSprite spriteIn,
boolean applyDiffuseLighting) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
TextureAtlasSprite |
func_187508_a() |
Direction |
getFace() |
int |
getTintIndex() |
int[] |
getVertexData() |
boolean |
hasTintIndex() |
void |
pipe(IVertexConsumer consumer) |
boolean |
shouldApplyDiffuseLighting() |
protected final int[] vertexData
protected final int tintIndex
protected final Direction face
protected final TextureAtlasSprite sprite
protected final boolean applyDiffuseLighting
@Deprecated
public BakedQuad(int[] vertexDataIn,
int tintIndexIn,
Direction faceIn,
TextureAtlasSprite spriteIn)
public BakedQuad(int[] vertexDataIn,
int tintIndexIn,
Direction faceIn,
TextureAtlasSprite spriteIn,
boolean applyDiffuseLighting)
public int[] getVertexData()
public boolean hasTintIndex()
public int getTintIndex()
public Direction getFace()
public void pipe(IVertexConsumer consumer)
pipe インタフェース内 IVertexProducerconsumer - consumer to receive the vertex data this producer can providepublic TextureAtlasSprite func_187508_a()
public boolean shouldApplyDiffuseLighting()