Свойство | Тип | Описание | |
---|---|---|---|
_texturRenderRotatePivot | Vector2 | ||
_texture | Texture | ||
_textureRenderRect | Rect | ||
_textureSelfRect | Rect |
Метод | Описание | |
---|---|---|
Sprite ( ) : System.Collections | ||
Sprite ( Texture texture ) : System.Collections | ||
Sprite ( Texture texture, float textureWidth, float textureHeight ) : System.Collections | ||
destroy ( ) : void | ||
hitTestMouseDispatch ( string type, Vector2 vec ) : bool | ||
hitTestTouchDispatch ( string type, Touch touch ) : bool | ||
hittest ( Vector2 vec ) : bool | ||
render ( ) : void | ||
setHotAreaSize ( float width, float height ) : void | ||
setTexutre ( Texture texture, float textureWidth, float textureHeight ) : void | ||
updateBoundRect ( ) : void |
public Sprite ( Texture texture ) : System.Collections | ||
texture | Texture | |
Результат | System.Collections |
public Sprite ( Texture texture, float textureWidth, float textureHeight ) : System.Collections | ||
texture | Texture | |
textureWidth | float | |
textureHeight | float | |
Результат | System.Collections |
public hitTestMouseDispatch ( string type, Vector2 vec ) : bool | ||
type | string | |
vec | Vector2 | |
Результат | bool |
public hitTestTouchDispatch ( string type, Touch touch ) : bool | ||
type | string | |
touch | Touch | |
Результат | bool |
public setHotAreaSize ( float width, float height ) : void | ||
width | float | |
height | float | |
Результат | void |
public setTexutre ( Texture texture, float textureWidth, float textureHeight ) : void | ||
texture | Texture | |
textureWidth | float | |
textureHeight | float | |
Результат | void |
protected Vector2 _texturRenderRotatePivot | ||
Результат | Vector2 |