Перейти к основному содержанию

EntityModel

@deprecated

Use resource packs or Render instead.

Index

Constructors

constructor

Properties

readonlyanimator

animator: any

readonlyisAnimated

isAnimated: boolean

Methods

applyTextureResolution

  • applyTextureResolution(): void
  • internal

    Returns void

createAnimation

getTexture

  • getTexture(): string
  • Returns string

getTextureAndRender

  • getTextureAndRender(token: number): { render: number; texture: Texture }
  • Parameters

    • token: number

    Returns { render: number; texture: Texture }

getTextureObj

getTextureResolution

  • getTextureResolution(): number
  • Returns number

resetAnimation

  • resetAnimation(token: number): void
  • Parameters

    • token: number

    Returns void

setRender

  • setRender(render: Render): void
  • Parameters

    Returns void

setTexture