Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RenderMesh

Hierarchy

  • RenderMesh

Index

Constructors

constructor

  • new RenderMesh(path: string, type: string, params: object): RenderMesh
  • new RenderMesh(): RenderMesh

Methods

addVertex

  • addVertex(a: number, b: number, c: number, d: number, e: number): void
  • Parameters

    • a: number
    • b: number
    • c: number
    • d: number
    • e: number

    Returns void

clone

fitIn

  • fitIn(a: number, b: number, c: number, d: number, e: number, f: number, g: boolean): void
  • Parameters

    • a: number
    • b: number
    • c: number
    • d: number
    • e: number
    • f: number
    • g: boolean

    Returns void

importFromFile

  • importFromFile(path: string, type: string, params: object): void

rotate

  • rotate(x: number, y: number, z: number, rotX: number, rotY: number, rotZ: number): void
  • Parameters

    • x: number
    • y: number
    • z: number
    • rotX: number
    • rotY: number
    • rotZ: number

    Returns void

setBlockTexture

  • setBlockTexture(texture: string, index: number): void

setColor

  • setColor(red: number, green: number, blue: number): void

setNormal

  • setNormal(a: number, b: number, c: number): void

translate

  • translate(x: number, y: number, z: number): void

Generated using TypeDoc