Files
JiboOs/docs/rendering/eye/AbstractEye.js

31 lines
746 B
JavaScript
Raw Normal View History

2026-03-16 13:53:01 +02:00
/**
* Abstract class for eye overlay and eye classes.
* @class AbstractEye
* @extends jibo.face.AbstractLayer
* @memberof jibo.face
* @param {Boolean} cache `true` to cache textures.
*/
/**
* The eye mesh.
* @name jibo.face.AbstractEye#eyeMesh
* @type {jibo.face.EyeMesh}
*/
/**
* Default eye texture when nothing is set.
* @method jibo.face.AbstractEye#init
* @param {PIXI.Texture} texture The default texture to use
*/
/**
* Destroy and don't use after this.
* @method jibo.face.AbstractEye#destroy
*/
/**
* Set current eye texture.
* @method jibo.face.AbstractEye#setTexture
* @protected
* @param {PIXI.Texture} texture Texture to set
*/