Difference between revisions of "Sprite:setShader"

Line 10: Line 10:
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''shader''': (Shader) <translate>shader to use for this object</translate> <br/>
 
'''shader''': (Shader) <translate>shader to use for this object</translate> <br/>
 +
 +
{{Sprite}}

Revision as of 01:20, 4 December 2019


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