Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents item texture data. For example, if 'items-opaque' folder contains file nugget_iron_0.png, you should pass nugget_iron as texture name and 0 as texture index. _N suffix can be omitted, but it is generally not recommended

Hierarchy

  • TextureData

Index

Properties

Properties

data?: number

Texture index defined by _N texture suffix. Default value id 0

meta?: number
deprecated

same as data, so data is preferred in all cases

name: string

Texture name, name of the file stored in the 'items-opaque' asset folder without extension and _N suffixes

Generated using TypeDoc