SpriteTask:setSize(size)
Method Property | Fluent Description | Representation |
---|---|---|
size accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:setSize(width, height)
Method Property | Fluent Description | Representation |
---|---|---|
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:setColor(rgb)
Method Property | Fluent Description | Representation |
---|---|---|
rgb accepts | a Vector3 | |
Return Value | a SpriteTask |
SpriteTask:setColor(rgba)
Method Property | Fluent Description | Representation |
---|---|---|
rgba accepts | a Vector4 | |
Return Value | a SpriteTask |
SpriteTask:setColor(r, g, b, a)
Method Property | Fluent Description | Representation |
---|---|---|
r accepts | a Number | |
g accepts | a Number | |
b accepts | a Number | |
a accepts | a Number | |
Return Value | a SpriteTask |
SpriteTask:setRegion(region)
Method Property | Fluent Description | Representation |
---|---|---|
region accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:setRegion(width, height)
Method Property | Fluent Description | Representation |
---|---|---|
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:setUV(uv)
Method Property | Fluent Description | Representation |
---|---|---|
uv accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:setUV(u, v)
Method Property | Fluent Description | Representation |
---|---|---|
u accepts | a Number | |
v accepts | a Number | |
Return Value | a SpriteTask |
SpriteTask:setUVPixels(uv)
Method Property | Fluent Description | Representation |
---|---|---|
uv accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:setUVPixels(u, v)
Method Property | Fluent Description | Representation |
---|---|---|
u accepts | a Number | |
v accepts | a Number | |
Return Value | a SpriteTask |
SpriteTask:setDimensions(dimensions)
Method Property | Fluent Description | Representation |
---|---|---|
dimensions accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:setDimensions(width, height)
Method Property | Fluent Description | Representation |
---|---|---|
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:setTexture(textureLocation, width, height)
Method Property | Fluent Description | Representation |
---|---|---|
textureLocation accepts | a String | |
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:setTexture(texture)
Method Property | Fluent Description | Representation |
---|---|---|
texture accepts | a Texture | |
Return Value | a SpriteTask |
SpriteTask:setTexture(texture, width, height)
Method Property | Fluent Description | Representation |
---|---|---|
texture accepts | a Texture | |
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:setTexture(textureLocation, dimensions)
Method Property | Fluent Description | Representation |
---|---|---|
textureLocation accepts | a String | |
dimensions accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:setTexture(texture, dimensions)
Method Property | Fluent Description | Representation |
---|---|---|
texture accepts | a Texture | |
dimensions accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:setRenderType(renderType)
Method Property | Fluent Description | Representation |
---|---|---|
renderType accepts | a String | |
Return Value | a SpriteTask |
Inherited from RenderTask
Inherited from RenderTask
SpriteTask:remove()
Method Property | Fluent Description | Representation |
---|---|---|
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:setScale(scale)
Method Property | Fluent Description | Representation |
---|---|---|
scale accepts | a Vector3 | |
Return Value | a RenderTask |
SpriteTask:setScale(x, y, z)
Method Property | Fluent Description | Representation |
---|---|---|
x accepts | a Number | |
y accepts | a Number | |
z accepts | a Number | |
Return Value | a RenderTask |
Inherited from RenderTask
Inherited from RenderTask
Inherited from RenderTask
Inherited from RenderTask
SpriteTask:setPos(pos)
Method Property | Fluent Description | Representation |
---|---|---|
pos accepts | a Vector3 | |
Return Value | a RenderTask |
SpriteTask:setPos(x, y, z)
Method Property | Fluent Description | Representation |
---|---|---|
x accepts | a Number | |
y accepts | a Number | |
z accepts | a Number | |
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:setMatrix(matrix)
Method Property | Fluent Description | Representation |
---|---|---|
matrix accepts | a Matrix4 | |
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:setRot(rot)
Method Property | Fluent Description | Representation |
---|---|---|
rot accepts | a Vector3 | |
Return Value | a RenderTask |
SpriteTask:setRot(x, y, z)
Method Property | Fluent Description | Representation |
---|---|---|
x accepts | a Number | |
y accepts | a Number | |
z accepts | a Number | |
Return Value | a RenderTask |
Inherited from RenderTask
Inherited from RenderTask
Inherited from RenderTask
Inherited from RenderTask
Inherited from RenderTask
SpriteTask:setLight(light)
Method Property | Fluent Description | Representation |
---|---|---|
light accepts | a Vector2 | |
Return Value | a RenderTask |
SpriteTask:setLight(blockLight, skyLight)
Method Property | Fluent Description | Representation |
---|---|---|
blockLight accepts | an Integer | |
skyLight accepts | an Integer | |
Return Value | a RenderTask |
Inherited from RenderTask
Inherited from RenderTask
SpriteTask:setOverlay(overlay)
Method Property | Fluent Description | Representation |
---|---|---|
overlay accepts | a Vector2 | |
Return Value | a RenderTask |
SpriteTask:setOverlay(whiteOverlay, hurtOverlay)
Method Property | Fluent Description | Representation |
---|---|---|
whiteOverlay accepts | an Integer | |
hurtOverlay accepts | an Integer | |
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:setVisible(visible)
Method Property | Fluent Description | Representation |
---|---|---|
visible accepts | a Boolean | |
Return Value | a RenderTask |
Inherited from RenderTask
Inherited from RenderTask
SpriteTask:size(size)
Method Property | Fluent Description | Representation |
---|---|---|
size accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:size(width, height)
Method Property | Fluent Description | Representation |
---|---|---|
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:color(rgb)
Method Property | Fluent Description | Representation |
---|---|---|
rgb accepts | a Vector3 | |
Return Value | a SpriteTask |
SpriteTask:color(rgba)
Method Property | Fluent Description | Representation |
---|---|---|
rgba accepts | a Vector4 | |
Return Value | a SpriteTask |
SpriteTask:color(r, g, b, a)
Method Property | Fluent Description | Representation |
---|---|---|
r accepts | a Number | |
g accepts | a Number | |
b accepts | a Number | |
a accepts | a Number | |
Return Value | a SpriteTask |
SpriteTask:region(region)
Method Property | Fluent Description | Representation |
---|---|---|
region accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:region(width, height)
Method Property | Fluent Description | Representation |
---|---|---|
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:uv(uv)
Method Property | Fluent Description | Representation |
---|---|---|
uv accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:uv(u, v)
Method Property | Fluent Description | Representation |
---|---|---|
u accepts | a Number | |
v accepts | a Number | |
Return Value | a SpriteTask |
SpriteTask:uvPixels(uv)
Method Property | Fluent Description | Representation |
---|---|---|
uv accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:uvPixels(u, v)
Method Property | Fluent Description | Representation |
---|---|---|
u accepts | a Number | |
v accepts | a Number | |
Return Value | a SpriteTask |
SpriteTask:dimensions(dimensions)
Method Property | Fluent Description | Representation |
---|---|---|
dimensions accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:dimensions(width, height)
Method Property | Fluent Description | Representation |
---|---|---|
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:texture(textureLocation, width, height)
Method Property | Fluent Description | Representation |
---|---|---|
textureLocation accepts | a String | |
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:texture(texture)
Method Property | Fluent Description | Representation |
---|---|---|
texture accepts | a Texture | |
Return Value | a SpriteTask |
SpriteTask:texture(texture, width, height)
Method Property | Fluent Description | Representation |
---|---|---|
texture accepts | a Texture | |
width accepts | an Integer | |
height accepts | an Integer | |
Return Value | a SpriteTask |
SpriteTask:texture(textureLocation, dimensions)
Method Property | Fluent Description | Representation |
---|---|---|
textureLocation accepts | a String | |
dimensions accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:texture(texture, dimensions)
Method Property | Fluent Description | Representation |
---|---|---|
texture accepts | a Texture | |
dimensions accepts | a Vector2 | |
Return Value | a SpriteTask |
SpriteTask:renderType(renderType)
Method Property | Fluent Description | Representation |
---|---|---|
renderType accepts | a String | |
Return Value | a SpriteTask |
Inherited from RenderTask
SpriteTask:scale(scale)
Method Property | Fluent Description | Representation |
---|---|---|
scale accepts | a Vector3 | |
Return Value | a RenderTask |
SpriteTask:scale(x, y, z)
Method Property | Fluent Description | Representation |
---|---|---|
x accepts | a Number | |
y accepts | a Number | |
z accepts | a Number | |
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:pos(pos)
Method Property | Fluent Description | Representation |
---|---|---|
pos accepts | a Vector3 | |
Return Value | a RenderTask |
SpriteTask:pos(x, y, z)
Method Property | Fluent Description | Representation |
---|---|---|
x accepts | a Number | |
y accepts | a Number | |
z accepts | a Number | |
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:matrix(matrix)
Method Property | Fluent Description | Representation |
---|---|---|
matrix accepts | a Matrix4 | |
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:rot(rot)
Method Property | Fluent Description | Representation |
---|---|---|
rot accepts | a Vector3 | |
Return Value | a RenderTask |
SpriteTask:rot(x, y, z)
Method Property | Fluent Description | Representation |
---|---|---|
x accepts | a Number | |
y accepts | a Number | |
z accepts | a Number | |
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:light(light)
Method Property | Fluent Description | Representation |
---|---|---|
light accepts | a Vector2 | |
Return Value | a RenderTask |
SpriteTask:light(blockLight, skyLight)
Method Property | Fluent Description | Representation |
---|---|---|
blockLight accepts | an Integer | |
skyLight accepts | an Integer | |
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:overlay(overlay)
Method Property | Fluent Description | Representation |
---|---|---|
overlay accepts | a Vector2 | |
Return Value | a RenderTask |
SpriteTask:overlay(whiteOverlay, hurtOverlay)
Method Property | Fluent Description | Representation |
---|---|---|
whiteOverlay accepts | an Integer | |
hurtOverlay accepts | an Integer | |
Return Value | a RenderTask |
Inherited from RenderTask
SpriteTask:visible(visible)
Method Property | Fluent Description | Representation |
---|---|---|
visible accepts | a Boolean | |
Return Value | a RenderTask |