Свойство | Тип | Описание | |
---|---|---|---|
Color | Color | ||
Heading | float | ||
Position | Point | ||
Size | |||
TextureName | string | ||
Visible | bool |
Свойство | Тип | Описание | |
---|---|---|---|
DrawTexture | void | ||
LoadTextureDict | void | ||
WriteFileFromResources | string | ||
WriteFileFromResources | string |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public Sprite ( string textureDict, string textureName, Point position, |
||
textureDict | string | |
textureName | string | |
position | Point | |
size | ||
Результат | System |
public Sprite ( string textureDict, string textureName, Point position, |
||
textureDict | string | |
textureName | string | |
position | Point | |
size | ||
heading | float | |
color | Color | |
Результат | System |