Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AttachableRender

Class used to attach attachables to entities

Hierarchy

  • AttachableRender

Index

Constructors

constructor

Methods

destroy

  • destroy(): void

getUniformSet

isAttached

  • isAttached(): boolean

setMaterial

setRenderer

  • Sets the render, root render parts will be drawing together with mob's render parts with same names (names can be seen in json description of the model in resources)

    Parameters

    Returns AttachableRender

setTexture

Static attachRendererToItem

  • attachRendererToItem(id: number, renderer: AttachableRender, texture?: string, material?: string): void

Static detachRendererFromItem

  • detachRendererFromItem(id: number): void

Generated using TypeDoc