Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModelPart

Hierarchy

  • ModelPart

Index

Methods

addBox

  • addBox(x: number, y: number, z: number, sizeX: number, sizeY: number, sizeZ: number, inflate: number, u: number, v: number): ModelPart
  • Parameters

    • x: number
    • y: number
    • z: number
    • sizeX: number
    • sizeY: number
    • sizeZ: number
    • inflate: number

      increases the box by a certain value in all directions

    • u: number
    • v: number

    Returns ModelPart

clear

endPart

setMaterial

  • setMaterial(materialName: string): ModelPart

setMirrored

  • setMirrored(isMirrored: boolean): ModelPart

setOffset

  • setOffset(x: number, y: number, z: number): ModelPart

setPivot

  • setPivot(x: number, y: number, z: number): ModelPart

setRotation

  • setRotation(x: number, y: number, z: number): ModelPart

setTexture

setTextureSize

  • setTextureSize(w: number, h: number): ModelPart

Generated using TypeDoc