Property | Type | Description | |
---|---|---|---|
Color | Color | ||
Heading | float | ||
Position | Point | ||
Size | |||
TextureName | string | ||
Visible | bool |
Property | Type | Description | |
---|---|---|---|
DrawTexture | void | ||
LoadTextureDict | void | ||
WriteFileFromResources | string | ||
WriteFileFromResources | string |
Method | Description | |
---|---|---|
Draw ( ) : void |
Draws the sprite on a 1080-pixels height base.
|
|
DrawTexture ( Texture texture, Point position, |
Draws a custom texture from a file on a 1080-pixels height base.
|
|
LoadTextureDictionary ( ) : void | ||
Sprite ( string textureDict, string textureName, Point position, |
Creates a game sprite object from a texture dictionary and texture name.
|
|
Sprite ( string textureDict, string textureName, Point position, |
Creates a game sprite object from a texture dictionary and texture name.
|
Method | Description | |
---|---|---|
DrawTexture ( Texture texture, Point position, |
||
LoadTextureDict ( ) : void | ||
WriteFileFromResources ( |
||
WriteFileFromResources ( |
public static DrawTexture ( Texture texture, Point position, |
||
texture | Texture | Your custom texture object. |
position | Point | |
size | ||
graphics | Rage | |
return | void |
public Sprite ( string textureDict, string textureName, Point position, |
||
textureDict | string | |
textureName | string | |
position | Point | |
size | ||
return | System |
public Sprite ( string textureDict, string textureName, Point position, |
||
textureDict | string | |
textureName | string | |
position | Point | |
size | ||
heading | float | |
color | Color | |
return | System |