C# Class OpenRA.Graphics.Sprite

Mostrar archivo 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_oe property

public BlendMode BlendMode
return BlendMode

Bounds public_oe property

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

Channel public_oe property

public TextureChannel Channel
return TextureChannel

FractionalOffset public_oe property

public float3 FractionalOffset
return float3

Offset public_oe property

public float3 Offset
return float3

Sheet public_oe property

public Sheet,OpenRA.Graphics Sheet
return Sheet

Size public_oe property

public float3 Size
return float3

Top public_oe property

public float Top
return float

ZRamp public_oe property

public float ZRamp
return float