MurderTexture

Namespace: Murder.Core.Graphics
Assembly: Murder.dll

public sealed struct MurderTexture

⭐ Constructors

public MurderTexture(AtlasCoordinates AtlasCoordinates)

Parameters
AtlasCoordinates AtlasCoordinates

public MurderTexture(string texture)

Parameters
texture string

⭐ Methods

Draw(Batch2D, Vector2, Vector2, Rectangle, Color, ImageFlip, float, Vector3)

public void Draw(Batch2D batch2D, Vector2 position, Vector2 scale, Rectangle clip, Color color, ImageFlip flip, float sort, Vector3 blend)

Draws a texture with a clipping area.

Parameters
batch2D Batch2D
position Vector2
scale Vector2
clip Rectangle
color Color
flip ImageFlip
sort float
blend Vector3

Preload()

public void Preload()