Sprite Factory

ReadMe
Release Notes
Overview
Using the Editor
Upgrading

Concepts
Sprites
Master Sprites
Sprite Groups
Colliders
Locators
Material Sets
SpriteUpdater
SpriteCamera

Advanced
Working in Multiple Projects

Classes
Runtime Classes

Videos
Overview
Creating Sprites
Sprite Inspector
Frame Events
Collision System
Locator System
Material Sets

Links
Sprite Factory Site
Web Documentation
Support
Contact

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