CSharpGL.Ground.Ground C# (CSharp) Method

Ground() public method

public Ground ( int squreCountPerUnit = 10, int xUnit = 10, int zUnit = 10 ) : System
squreCountPerUnit int 每个world space里的1个距离单位有几个方块?
xUnit int 在x轴正方向画多少个距离单位?
zUnit int 在z轴正方向画多少个距离单位?
return System
        public Ground(int squreCountPerUnit = 10, int xUnit = 10, int zUnit = 10)
        {
            this.positions = GeneratePositions(squreCountPerUnit, xUnit, zUnit);
            this.colors = GenerateColors(squreCountPerUnit, xUnit, zUnit);
        }