Box2DX.Collision.IndexArray.this C# (CSharp) 메소드

this() 공개 메소드

public this ( int index ) : Byte
index int
리턴 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