Difference between revisions of "Sprite:setShader"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2015.06.30<br/> | '''Available since:''' Gideros 2015.06.30<br/> | ||
=== Description === | === Description === | ||
− | Set shader for this sprite. If nil is provided, sets default shader for current object | + | <translate>Set shader for this sprite. If nil is provided, sets default shader for current object</translate> |
<source lang="lua"> | <source lang="lua"> | ||
Sprite:setShader(shader) | Sprite:setShader(shader) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''shader''': (Shader) shader to use for this object <br/> | + | '''shader''': (Shader) <translate>shader to use for this object</translate> <br/> |
Revision as of 13:33, 23 August 2018
Available since: Gideros 2015.06.30
Description
Set shader for this sprite. If nil is provided, sets default shader for current object
Sprite:setShader(shader)
Parameters
shader: (Shader) shader to use for this object