类 CompositeRenderable
java.lang.Object
net.minecraftforge.client.model.renderable.CompositeRenderable
- 所有已实现的接口:
IRenderable<CompositeRenderable.Transforms>
public class CompositeRenderable
extends Object
implements IRenderable<CompositeRenderable.Transforms>
A renderable object composed of a hierarchy of parts, each made up of a number of meshes.
Each mesh renders a set of quads using a different texture.
- 另请参阅:
-
嵌套类概要
嵌套类修饰符和类型类说明static class
private static class
private static class
static class
static class
A context value that providesMatrix4f
transforms for certain parts of the model. -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static CompositeRenderable.Builder
builder()
void
render
(PoseStack poseStack, MultiBufferSource bufferSource, ITextureRenderTypeLookup textureRenderTypeLookup, int lightmap, int overlay, float partialTick, CompositeRenderable.Transforms context) Draws the renderable by adding the geometry to the providedMultiBufferSource
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.client.model.renderable.IRenderable
withContext
-
字段详细资料
-
components
-
-
构造器详细资料
-
CompositeRenderable
private CompositeRenderable()
-
-
方法详细资料
-
render
public void render(PoseStack poseStack, MultiBufferSource bufferSource, ITextureRenderTypeLookup textureRenderTypeLookup, int lightmap, int overlay, float partialTick, CompositeRenderable.Transforms context) 从接口复制的说明:IRenderable
Draws the renderable by adding the geometry to the providedMultiBufferSource
- 指定者:
render
在接口中IRenderable<CompositeRenderable.Transforms>
- 参数:
poseStack
- The pose stackbufferSource
- The buffer source where the vertex data should be outputtextureRenderTypeLookup
- A function that provides a RenderType for the given texturelightmap
- The lightmap coordinates representing the current lighting conditions. SeeLightTexture
overlay
- The overlay coordinates representing the current overlay status. SeeOverlayTexture
partialTick
- The current time expressed in the fraction of a tick elapsed since the last client tickcontext
- The context used for rendering
-
builder
-