How can I set the Clipping Center and Size for a UIPanel through script?
I thought maybe something like this:
item.panel.clipping = UIDrawCall.Clipping.HardClip;
item.panel.clipRange.Set(-x, 0, 0, 930);
item.panel.UpdateDrawcalls();
I want Hard Clip, X=136, Size.X=930.
If I change the clip in the update loop, do I need to update the draw calls or something for it to update?
Thanks,
~Tim