// スペースキーを押したか? if (keyboardState.IsKeyDown(Keys.Space) == true) { // 試験的に、適当なポリゴンを範囲選択 for (int index = 20000; index < 30000; index++) // 頂点データにテクスチャ番号をセットする vertices[index].Depth = 0.6f; // 頂点データを頂点バッファに書き込む this.vertexBuffer.SetData(vertices); }