Buy Me a Coffee at ko-fi.com

Sets this task's texture
The texture's width and height must be provided if the texture is a location
For custom textures, the dimensions are optional

overload 1:
SpriteTask.texture(textureLocation: String, width: Integer, height: Integer): SpriteTask
typings.-1808118735typings.-672261858typings.-672261858typings.-769810934
Method PropertyFluent DescriptionRepresentation
textureLocation accepts
width accepts
height accepts
Return Value
overload 2:
SpriteTask.texture(texture: Texture): SpriteTask
typings.246836475typings.-769810934
Method PropertyFluent DescriptionRepresentation
texture accepts
Return Value
overload 3:
SpriteTask.texture(texture: Texture, width: Integer, height: Integer): SpriteTask
typings.246836475typings.-672261858typings.-672261858typings.-769810934
Method PropertyFluent DescriptionRepresentation
texture accepts
width accepts
height accepts
Return Value
overload 4:
SpriteTask.texture(textureLocation: String, dimensions: Vector2): SpriteTask
typings.-1808118735typings.2002444079typings.-769810934
Method PropertyFluent DescriptionRepresentation
textureLocation accepts
dimensions accepts
Return Value
overload 5:
SpriteTask.texture(texture: Texture, dimensions: Vector2): SpriteTask
typings.246836475typings.2002444079typings.-769810934
Method PropertyFluent DescriptionRepresentation
texture accepts
dimensions accepts
Return Value