User Tools

Site Tools


ixe:irpl:sprites:createsprite

This is an old revision of the document!


CreateSprite

CreateSprite(<-image <-origin)

Description

Creates a sprite with image and origin. Origin is a V2 that represents the sprite's pivot point as a fraction of its size. For instance, an origin of (0,0) causes the sprite to pivot around its bottom-left corner, while an origin of (0.5,0.5) causes it to pivot around its center. Returns the UID for the sprite.

Examples

 
ixe/irpl/sprites/createsprite.1736554023.txt.gz · Last modified: 2025/02/14 14:56 (external edit)