C# Class OpenRA.Graphics.Sprite

Show file Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
BlendMode BlendMode
Bounds System.Drawing.Rectangle
Channel TextureChannel
FractionalOffset float3
Offset float3
Sheet Sheet
Size float3
Top float
ZRamp float

Public Methods

Method Description
Sprite ( Sheet sheet, Rectangle bounds, TextureChannel channel ) : System
Sprite ( Sheet sheet, Rectangle bounds, float zRamp, float3 offset, TextureChannel channel, BlendMode blendMode = BlendMode.Alpha ) : System

Method Details

Sprite() public method

public Sprite ( Sheet sheet, Rectangle bounds, TextureChannel channel ) : System
sheet Sheet
bounds System.Drawing.Rectangle
channel TextureChannel
return System

Sprite() public method

public Sprite ( Sheet sheet, Rectangle bounds, float zRamp, float3 offset, TextureChannel channel, BlendMode blendMode = BlendMode.Alpha ) : System
sheet Sheet
bounds System.Drawing.Rectangle
zRamp float
offset float3
channel TextureChannel
blendMode BlendMode
return System

Property Details

BlendMode public property

public BlendMode BlendMode
return BlendMode

Bounds public property

public Rectangle,System.Drawing Bounds
return System.Drawing.Rectangle

Channel public property

public TextureChannel Channel
return TextureChannel

FractionalOffset public property

public float3 FractionalOffset
return float3

Offset public property

public float3 Offset
return float3

Sheet public property

public Sheet,OpenRA.Graphics Sheet
return Sheet

Size public property

public float3 Size
return float3

Top public property

public float Top
return float

ZRamp public property

public float ZRamp
return float