Remove workspace zoom from matrix?
Moderators: Víctor Paredes, Belgarath, slowtiger
- synthsin75
- Posts: 10266
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Remove workspace zoom from matrix?
Anyone know how to remove workspace zoom from a matrix?
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Re: Remove workspace zoom from matrix?
Hi. Long time without touching matrices (pending), but I think LM_Graphics:CurrentScale(ignoreZoom) should provide what you need. I don't think I can be much more useful than that, sorry... but there are several examples of use in the official tools where present (or any of the listed in the method's page should also serve) that I hope can help.
EDIT: Oh, but of course you should be able to access to Moho View (I took for granted you are).
EDIT: Oh, but of course you should be able to access to Moho View (I took for granted you are).
...
- synthsin75
- Posts: 10266
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Remove workspace zoom from matrix?
Thanks, Ramon. I didn't see that one. I'll try it out.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- synthsin75
- Posts: 10266
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Remove workspace zoom from matrix?
Thanks again, Ramon. That seems to be just what I needed.
Gets me about 99% solved on the current problem.
Gets me about 99% solved on the current problem.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
- synthsin75
- Posts: 10266
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Remove workspace zoom from matrix?
100% solved.
I just needed to get this bit in the right order, before using my matrix:
I just needed to get this bit in the right order, before using my matrix:
Code: Select all
local scale = g:CurrentScale(false)
matrix:Scale(scale, scale, 1)
matrix:Invert()
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/