OpenRA.Graphics.RgbaColorRenderer.FillRect C# (CSharp) Method

FillRect() public method

public FillRect ( float3 tl, float3 br, Color color ) : void
tl float3
br float3
color Color
return void
        public void FillRect(float3 tl, float3 br, Color color)
        {
            var tr = new float3(br.X, tl.Y, tl.Z);
            var bl = new float3(tl.X, br.Y, br.Z);
            FillRect(tl, tr, br, bl, color);
        }

Same methods

RgbaColorRenderer::FillRect ( float3 a, float3 b, float3 c, float3 d, Color color ) : void