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; }
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; }