Box2DX.Collision.IndexArray.this C# (CSharp) Method

this() public method

public this ( int index ) : Byte
index int
return Byte
		public Byte this[int index]
		{
			get
			{
#if DEBUG
				Box2DXDebug.Assert(index >= 0 && index < 3);
#endif
				if (index == 0) return I0;
				else if (index == 1) return I1;
				else return I2;
			}
			set
			{
#if DEBUG
				Box2DXDebug.Assert(index >= 0 && index < 3);
#endif
				if (index == 0) I0 = value;
				else if (index == 1) I1 = value;
				else I2 = value;
			}
		}
	}
IndexArray