Difference between revisions of "Sprite:setShader"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2015.06.30<br/>
 
'''<translate>Available since</translate>:''' Gideros 2015.06.30<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Set shader for this sprite. If nil is provided, sets default shader for current object</translate>
 
<translate>Set shader for this sprite. If nil is provided, sets default shader for current object</translate>

Revision as of 09:28, 24 August 2018

Available since: Gideros 2015.06.30
Class: Sprite

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