models
models:getChildren()
Method Property | Fluent Description | Representation |
---|---|---|
Return Value | an array of ModelParts |
models:getTask()
Method Property | Fluent Description | Representation |
---|---|---|
Return Value | a table mapping a String to a RenderTask |
models:getTask(taskName)
Method Property | Fluent Description | Representation |
---|---|---|
taskName accepts | a String | |
Return Value | a RenderTask |
models:setPostRender(function)
Method Property | Fluent Description | Representation |
---|---|---|
function accepts | a function | |
Return Value | a ModelPart |
models:setMidRender(function)
Method Property | Fluent Description | Representation |
---|---|---|
function accepts | a function | |
Return Value | a ModelPart |
models:setPreRender(function)
Method Property | Fluent Description | Representation |
---|---|---|
function accepts | a function | |
Return Value | a ModelPart |
models:newSprite(taskName)
Method Property | Fluent Description | Representation |
---|---|---|
taskName accepts | a String | |
Return Value | a SpriteTask |
models:addTask(renderTask)
Method Property | Fluent Description | Representation |
---|---|---|
renderTask accepts | a RenderTask | |
Return Value | a RenderTask |
models:removeTask(renderTask)
Method Property | Fluent Description | Representation |
---|---|---|
renderTask accepts | a RenderTask | |
Return Value | a ModelPart |
models:getSecondaryRenderType()
Method Property | Fluent Description | Representation |
---|---|---|
Return Value | either a RenderTypes or nil |
models:getPrimaryRenderType()
Method Property | Fluent Description | Representation |
---|---|---|
Return Value | either a RenderTypes or nil |
models:newEntity(taskName)
Method Property | Fluent Description | Representation |
---|---|---|
taskName accepts | a String | |
Return Value | an EntityTask |