SpriteFactory.Sprite.SpriteMaterial.SetVector
C#: void SetVector (string propertyName, Vector4 vector)
JS: function SetVector (propertyName : String, vector : Vector4) : void
Description
Set a vector value in the shader in all of the Sprite's current materials by name.
C#: void SetVector (int nameID, Vector4 vector)
JS: function SetVector (nameID : int, vector : Vector4) : void
Description
Set a vector value in the shader in all of the Sprite's current materials by id.
See Also
GetVector