Setting up sorting order at runtime
I manage to set the sorting order of my shape all fine when I play with the demo parameters
Then I would like to set that SortingOrder parameter at runtime
and Draw.sortingOrder doesn't exist.
What should I do ?
Also, am I using the documentation wrong ?
I find myself digging in the sample and library code all the time to try and
it took me a while to come up with things like
Draw.StencilComp = CompareFunction.Less;
Draw.StencilOpPass = StencilOp.Keep;
Draw.StencilRefID = 0;
Draw.StencilReadMask = 255;Draw.StencilWriteMask = 255;