Property | Type | Description | |
---|---|---|---|
_texturRenderRotatePivot | Vector2 | ||
_texture | Texture | ||
_textureRenderRect | Rect | ||
_textureSelfRect | Rect |
Method | Description | |
---|---|---|
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 | |
return | System.Collections |
public Sprite ( Texture texture, float textureWidth, float textureHeight ) : System.Collections | ||
texture | Texture | |
textureWidth | float | |
textureHeight | float | |
return | System.Collections |
public hitTestMouseDispatch ( string type, Vector2 vec ) : bool | ||
type | string | |
vec | Vector2 | |
return | bool |
public hitTestTouchDispatch ( string type, Touch touch ) : bool | ||
type | string | |
touch | Touch | |
return | bool |
public setHotAreaSize ( float width, float height ) : void | ||
width | float | |
height | float | |
return | void |
public setTexutre ( Texture texture, float textureWidth, float textureHeight ) : void | ||
texture | Texture | |
textureWidth | float | |
textureHeight | float | |
return | void |
protected Vector2 _texturRenderRotatePivot | ||
return | Vector2 |