TabIcon¶
data class TabIcon(
val texture: ResourceLocation,
val uOffset: Float = 0.0f,
val vOffset: Float = 0.0f,
val regionWidth: Int = 28,
val regionHeight: Int = 32,
val textureWidth: Int = 256,
val textureHeight: Int = 256,
val displayWidth: Int = regionWidth,
val displayHeight: Int = regionHeight
)
Sprite descriptor used for optional tab icons.
Constructors¶
TabIcon¶
Properties¶
displayHeight¶
val displayHeight: Int
displayWidth¶
val displayWidth: Int
regionHeight¶
val regionHeight: Int
regionWidth¶
val regionWidth: Int
texture¶
val texture: ResourceLocation
textureHeight¶
val textureHeight: Int
textureWidth¶
val textureWidth: Int