Méthode | Description | |
---|---|---|
Begin ( ) : void | ||
CreateColorResource ( Common color ) : IResourceImage | ||
DisableLayer ( int layer ) : void | ||
Draw ( IResourceImage resource, int layer, MegaMan position, |
||
EnableLayer ( int layer ) : void | ||
End ( ) : void | ||
GetOpacity ( ) : float | ||
IsLayerEnabled ( int layer ) : bool | ||
LoadResource ( MegaMan.Common.FilePath texturePath, string paletteName = null ) : IResourceImage | ||
SetOpacity ( float opacity ) : void | ||
XnaRenderingContext ( GraphicsDevice graphicsDevice ) : System |
Méthode | Description | |
---|---|---|
AddTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, string palette ) : IResourceImage | ||
CreateAllLayers ( ) : void | ||
EnableAllLayers ( ) : void | ||
GenerateSwappedTextures ( Palette palette, Microsoft.Xna.Framework.Graphics.Texture2D image ) : List |
||
GetTextureFromPath ( MegaMan.Common.FilePath path ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
VerifyPaletteSwaps ( Palette palette, int id, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void |
public CreateColorResource ( Common color ) : IResourceImage | ||
color | Common | |
Résultat | IResourceImage |
public Draw ( IResourceImage resource, int layer, MegaMan position, |
||
resource | IResourceImage | |
layer | int | |
position | MegaMan | |
sourceRect | ||
flipHorizontal | bool | |
flipVertical | bool | |
Résultat | void |
public LoadResource ( MegaMan.Common.FilePath texturePath, string paletteName = null ) : IResourceImage | ||
texturePath | MegaMan.Common.FilePath | |
paletteName | string | |
Résultat | IResourceImage |
public XnaRenderingContext ( GraphicsDevice graphicsDevice ) : System | ||
graphicsDevice | GraphicsDevice | |
Résultat | System |