Fusion.Engine.Graphics.SpriteLayer.DrawSprite C# (CSharp) Method

DrawSprite() public method

Draw rotated square with specified position, width, height and rotation angle.
public DrawSprite ( Texture srv, float x, float y, float size, float angle, Color color, int clipRectIndex ) : void
srv Texture
x float
y float
size float
angle float
color Color
clipRectIndex int
return void
        public void DrawSprite( Texture srv, float x, float y, float size, float angle, Color color, int clipRectIndex=0 )
        {
			DrawSprite( srv, x, y, size, size, angle, color, clipRectIndex );
        }

Same methods

SpriteLayer::DrawSprite ( Texture srv, float x, float y, float width, float height, float angle, Color color, int clipRectIndex ) : void