C# Class Pokemon3D.Common.Shapes.GradientShapeTextureProvider

Inheritance: ShapeTextureProvider
ファイルを表示 Open project: nilllzz/Pokemon3D Class Usage Examples

Public Methods

Method Description
GetTexture ( Shape shape, object textureData ) : Microsoft.Xna.Framework.Graphics.Texture2D
GradientShapeTextureProvider ( ShapeRenderer renderer ) : Microsoft.Xna.Framework

Private Methods

Method Description
CreateTexture ( Shape shape, Microsoft.Xna.Framework.Color fromColor, Microsoft.Xna.Framework.Color toColor, bool vertical ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

GetTexture() public method

public GetTexture ( Shape shape, object textureData ) : Microsoft.Xna.Framework.Graphics.Texture2D
shape Shape
textureData object
return Microsoft.Xna.Framework.Graphics.Texture2D

GradientShapeTextureProvider() public method

public GradientShapeTextureProvider ( ShapeRenderer renderer ) : Microsoft.Xna.Framework
renderer ShapeRenderer
return Microsoft.Xna.Framework