SpriteFactory.Sprite.SpriteMaterial.SetTexture
C#: void SetTexture (string propertyName, Texture texture)
JS: function SetTexture (propertyName : String, texture : Texture) : void
Description
Set a Texture in the shader in all of the Sprite's current materials by name.
C#: void SetTexture (int nameID, Texture texture)
JS: function SetTexture (nameID : int, texture : Texture) : void
Description
Set a Texture in the shader in all of the Sprite's current materials by id.
See Also
GetTexture