C# Class FSO.Common.Utils.TextureGenerator

Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Свойство Type Description
FLAT_Z_INC float
WallZBufferConfig float[][]

Méthodes publiques

Méthode Description
GenerateCatalogIconBorder ( GraphicsDevice gd, Color highlight, Color bg ) : Microsoft.Xna.Framework.Graphics.Texture2D
GenerateObjectIconBorder ( GraphicsDevice gd, Color highlight, Color bg ) : Microsoft.Xna.Framework.Graphics.Texture2D
GenerateRoundedRectangle ( GraphicsDevice gd, Color color, int width, int height, int radius ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetAirTiles ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D[]
GetCatalogActive ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetCatalogDisabled ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetCatalogInactive ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetInteractionActive ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetInteractionInactive ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetMotiveArrow ( GraphicsDevice gd, Color highlight, Color bg ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetPieBG ( GraphicsDevice gd ) : Texture2D
GetPieButtonImg ( GraphicsDevice gd ) : Texture2D
GetPxWhite ( GraphicsDevice gd ) : Texture2D
GetWallZBuffer ( GraphicsDevice gd ) : Texture2D[]

Private Methods

Méthode Description
FillRect ( Color data, Vector2 texSize, Rectangle dest, Color fillColor ) : void
GenerateAirTile ( GraphicsDevice gd, int width, int height ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

GenerateCatalogIconBorder() public static méthode

public static GenerateCatalogIconBorder ( GraphicsDevice gd, Color highlight, Color bg ) : Microsoft.Xna.Framework.Graphics.Texture2D
gd GraphicsDevice
highlight Color
bg Color
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GenerateObjectIconBorder() public static méthode

public static GenerateObjectIconBorder ( GraphicsDevice gd, Color highlight, Color bg ) : Microsoft.Xna.Framework.Graphics.Texture2D
gd GraphicsDevice
highlight Color
bg Color
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GenerateRoundedRectangle() public static méthode

public static GenerateRoundedRectangle ( GraphicsDevice gd, Color color, int width, int height, int radius ) : Microsoft.Xna.Framework.Graphics.Texture2D
gd GraphicsDevice
color Color
width int
height int
radius int
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GetAirTiles() public static méthode

public static GetAirTiles ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D[]
gd GraphicsDevice
Résultat Microsoft.Xna.Framework.Graphics.Texture2D[]

GetCatalogActive() public static méthode

public static GetCatalogActive ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
gd GraphicsDevice
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GetCatalogDisabled() public static méthode

public static GetCatalogDisabled ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
gd GraphicsDevice
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GetCatalogInactive() public static méthode

public static GetCatalogInactive ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
gd GraphicsDevice
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GetInteractionActive() public static méthode

public static GetInteractionActive ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
gd GraphicsDevice
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GetInteractionInactive() public static méthode

public static GetInteractionInactive ( GraphicsDevice gd ) : Microsoft.Xna.Framework.Graphics.Texture2D
gd GraphicsDevice
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GetMotiveArrow() public static méthode

public static GetMotiveArrow ( GraphicsDevice gd, Color highlight, Color bg ) : Microsoft.Xna.Framework.Graphics.Texture2D
gd GraphicsDevice
highlight Color
bg Color
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

GetPieBG() public static méthode

public static GetPieBG ( GraphicsDevice gd ) : Texture2D
gd GraphicsDevice
Résultat Texture2D

GetPieButtonImg() public static méthode

public static GetPieButtonImg ( GraphicsDevice gd ) : Texture2D
gd GraphicsDevice
Résultat Texture2D

GetPxWhite() public static méthode

public static GetPxWhite ( GraphicsDevice gd ) : Texture2D
gd GraphicsDevice
Résultat Texture2D

GetWallZBuffer() public static méthode

public static GetWallZBuffer ( GraphicsDevice gd ) : Texture2D[]
gd GraphicsDevice
Résultat Texture2D[]

Property Details

FLAT_Z_INC public_oe static_oe property

public static float FLAT_Z_INC
Résultat float

WallZBufferConfig public_oe static_oe property

public static float[][] WallZBufferConfig
Résultat float[][]