BBMOD_RenderQueue.DrawSpritePart

A function defined in BBMOD_RenderQueue.gml

DrawSpritePart(_sprite, _subimg, _left, _top, _width, _height, _x, _y)

Description

Adds a BBMOD_ERenderCommand.DrawSpritePart 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.

Returns

Struct.BBMOD_RenderQueue Returns self.

Do you find this page helpful?

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