Beispiel #1
0
 public UIRenderer()
 {
     this.DrawOrder = new Property<int> { Editable = false, Value = 0 };
     this.RasterizerState = new RasterizerState { ScissorTestEnable = true, CullMode = CullMode.None };
     this.Root = new RootUIComponent(this);
     this.Root.AnchorPoint.Value = Vector2.Zero;
     this.Serialize = false;
 }
Beispiel #2
0
 public UIRenderer()
 {
     this.DrawOrder = new Property <int> {
         Value = 0
     };
     this.RasterizerState = new RasterizerState {
         ScissorTestEnable = true, CullMode = CullMode.None
     };
     this.Root = new RootUIComponent(this);
     this.Root.AnchorPoint.Value = Vector2.Zero;
     this.Serialize = false;
 }