Sprite:setShader

From GiderosMobile
Revision as of 09:28, 24 August 2018 by Hgy29 (talk | contribs)

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