BBMOD_RenderQueue.DrawSpritePartExt

A function defined in BBMOD_RenderQueue.gml

DrawSpritePartExt(_sprite, _subimg, _left, _top, _width, _height, _x, _y, _xscale, _yscale, _col, _alpha)

Description

Adds a BBMOD_ERenderCommand.DrawSpritePartExt command into the queue.

Arguments

Name Type Description
_sprite Asset.GMSprite The sprite to draw.
_subimg Real The sub-image of the sprite to draw.
_left Real The x position on the sprite of the top left corner of the area to draw.
_top Real The y position on the sprite of the top left corner of the area to draw.
_width Real The width of the area to draw.
_height Real The height of the area to draw.
_x Real The x coordinate of where to draw the sprite.
_y Real The y coordinate of where to draw the sprite.
_xscale Real The horizontal scaling of the sprite.
_yscale Real The vertical scaling of the sprite.
_col Constant.Color The color with which to blend the sprite.
_alpha Real The alpha of the sprite.

Returns

Struct.BBMOD_RenderQueue Returns self.

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on April 18, 2024 using GMDoc.