BananaMpq.View.Rendering.AgentRenderer.Render C# (CSharp) Method

Render() public method

public Render ( Color4 color ) : void
color Color4
return void
        public void Render(Color4 color)
        {
            if (!IsPositioned) return;
            _device.Material = _material;
            _device.DrawIndexedUserPrimitives(PrimitiveType.LineStrip, 0, _vertices.Length, _indices.Length - 1, _indices,
                Format.Index16,
                _vertices);
        }