public void setTintOutside(int tint) { this.m_dayNightTint = tint; int tintInside = this.getTintInside(); for (int index = 0; index < this.m_corners.Length; ++index) { this.m_corners[index].setTintOutside(tint); } for (int index = 0; index < 4; ++index) { int submeshIndex = index * 6; GeomStrip.setTint(tintInside, this.m_compositeMesh, submeshIndex); GeomStrip.setTint(tintInside, this.m_compositeMesh, submeshIndex + 1); GeomStrip.setTint(tintInside, this.m_compositeMesh, submeshIndex + 2); GeomStrip.setTint(tint, this.m_compositeMesh, submeshIndex + 3); GeomStrip.setTint(tint, this.m_compositeMesh, submeshIndex + 4); GeomStrip.setTint(tint, this.m_compositeMesh, submeshIndex + 5); } GeomStrip.setTint(tintInside, this.m_compositeMesh, 24); }
public void setTintOutside(int tint) { GeomStrip.setTint(tint, this.m_compositeMesh); }