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