{"action":"created","issue":{"url":"https://api.github.com/repos/MonoGame/MonoGame/issues/5213","repository_url":"https://api.github.com/repos/MonoGame/MonoGame","labels_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/5213/labels{/name}","comments_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/5213/comments","events_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/5213/events","html_url":"https://github.com/MonoGame/MonoGame/pull/5213","id":181791467,"number":5213,"title":"Set \"MatrixTransform\" effect-property in SpriteBatch.","user":{"login":"KimikoMuffin","id":1100352,"avatar_url":"https://avatars.githubusercontent.com/u/1100352?v=3","gravatar_id":"","url":"https://api.github.com/users/KimikoMuffin","html_url":"https://github.com/KimikoMuffin","followers_url":"https://api.github.com/users/KimikoMuffin/followers","following_url":"https://api.github.com/users/KimikoMuffin/following{/other_user}","gists_url":"https://api.github.com/users/KimikoMuffin/gists{/gist_id}","starred_url":"https://api.github.com/users/KimikoMuffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KimikoMuffin/subscriptions","organizations_url":"https://api.github.com/users/KimikoMuffin/orgs","repos_url":"https://api.github.com/users/KimikoMuffin/repos","events_url":"https://api.github.com/users/KimikoMuffin/events{/privacy}","received_events_url":"https://api.github.com/users/KimikoMuffin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2016-10-08T00:13:06Z","updated_at":"2016-10-11T02:14:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MonoGame/MonoGame/pulls/5213","html_url":"https://github.com/MonoGame/MonoGame/pull/5213","diff_url":"https://github.com/MonoGame/MonoGame/pull/5213.diff","patch_url":"https://github.com/MonoGame/MonoGame/pull/5213.patch"},"body":"Fixes issue #4387."},"comment":{"url":"https://api.github.com/repos/MonoGame/MonoGame/issues/comments/252793424","html_url":"https://github.com/MonoGame/MonoGame/pull/5213#issuecomment-252793424","issue_url":"https://api.github.com/repos/MonoGame/MonoGame/issues/5213","id":252793424,"user":{"login":"nkast","id":3018589,"avatar_url":"https://avatars.githubusercontent.com/u/3018589?v=3","gravatar_id":"","url":"https://api.github.com/users/nkast","html_url":"https://github.com/nkast","followers_url":"https://api.github.com/users/nkast/followers","following_url":"https://api.github.com/users/nkast/following{/other_user}","gists_url":"https://api.github.com/users/nkast/gists{/gist_id}","starred_url":"https://api.github.com/users/nkast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkast/subscriptions","organizations_url":"https://api.github.com/users/nkast/orgs","repos_url":"https://api.github.com/users/nkast/repos","events_url":"https://api.github.com/users/nkast/events{/privacy}","received_events_url":"https://api.github.com/users/nkast/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T02:14:06Z","updated_at":"2016-10-11T02:14:06Z","body":"Just for fun you can write an Effect extension in your code that takes a viewport and sets the params[\"matrixTransform\"]. You can then call `myEffect.SetSpriteBatchProject(viewport);` whenever you need it.\r\nGrab the OrthographicOffCenter code from Matrix.cs for start and then remove all redundant calculations where you have 0 and 1 or -1. Finally, add the halfpixeloffet instead of multiplying with another matrix."}}
{"actor":{"display_login":"nkast"}}