C# Class OpenRA.Graphics.Sprite

Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

Свойство Type Description
BlendMode BlendMode
Bounds System.Drawing.Rectangle
Channel TextureChannel
FractionalOffset float3
Offset float3
Sheet Sheet
Size float3
Top float
ZRamp float

Méthodes publiques

Méthode 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 méthode

public Sprite ( Sheet sheet, Rectangle bounds, TextureChannel channel ) : System
sheet Sheet
bounds System.Drawing.Rectangle
channel TextureChannel
Résultat System

Sprite() public méthode

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
Résultat System

Property Details

BlendMode public_oe property

public BlendMode BlendMode
Résultat BlendMode

Bounds public_oe property

public Rectangle,System.Drawing Bounds
Résultat System.Drawing.Rectangle

Channel public_oe property

public TextureChannel Channel
Résultat TextureChannel

FractionalOffset public_oe property

public float3 FractionalOffset
Résultat float3

Offset public_oe property

public float3 Offset
Résultat float3

Sheet public_oe property

public Sheet,OpenRA.Graphics Sheet
Résultat Sheet

Size public_oe property

public float3 Size
Résultat float3

Top public_oe property

public float Top
Résultat float

ZRamp public_oe property

public float ZRamp
Résultat float