Hello Guest

Author Topic: Programmatically resize UIMask  (Read 4132 times)

BitDemon

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
Programmatically resize UIMask
« on: August 22, 2013, 09:09:27 pm »
How would I programmatically resize a UIMask? I have tried changing its size variable but this happens:


unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Programmatically resize UIMask
« Reply #1 on: August 22, 2013, 10:12:56 pm »
You can call Build to rebuild the mesh after its been changed.
This isn't "officially" supported so it can and probably change in future versions...

BitDemon

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Programmatically resize UIMask
« Reply #2 on: August 22, 2013, 10:31:56 pm »
Thanks, got it working.