मुख्य कंटेंट तक स्किप करें

Class: ModelRenderer

This page documents the methods and fields available in the ModelRenderer class.

Members

SignatureDescription
ModelRenderer(Vertex)Creates a new instance of ModelRenderer.
attachPrimitive(int)Performs the attachPrimitive operation using the provided parameters (primitive).
getBatchingChannel()Returns the current batching channel.
getMaterial()Returns the current material.
getOutlineColor()Returns the current outline color.
getOutlineScale()Returns the current outline scale.
getRenderMatrix()Returns the current render matrix.
getVertex()Returns the current vertex.
isCastShadowEnabled()Returns whether cast shadow enabled is true.
isEnableOutline()Returns whether enable outline is true.
isWireframe()Returns whether wireframe is true.
setBatchingChannel(BatchingChannel)Sets or updates the batching channel.
setCastShadowEnabled(boolean)Sets or updates the cast shadow enabled.
setEnableOutline(boolean)Sets or updates the enable outline.
setMaterial(Material)Sets or updates the material.
setMaterialFile(MaterialFile)Sets or updates the material file.
setModelFile(VertexFile)Sets or updates the model file.
setOutlineColor(Color)Sets or updates the outline color.
setOutlineScale(float)Sets or updates the outline scale.
setRenderMatrix(float[])Sets or updates the render matrix.
setVertex(Vertex)Sets or updates the vertex.
setWireframe(boolean)Sets or updates the wireframe.