Monobjc.GLKit.GLKMatrix3.this C# (CSharp) Method

this() public method

Gets or sets the value at the specified index.
public this ( int index ) : float
index int
return float
		public float this [int index] {
			get {
				switch (index) {
				case 0:
					return this.m00;
				case 1:
					return this.m01;
				case 2:
					return this.m02;
				case 3:
					return this.m10;
				case 4:
					return this.m11;
				case 5:
					return this.m12;
				case 6:
					return this.m20;
				case 7:
					return this.m21;
				case 8:
					return this.m22;
				default:
					throw new System.IndexOutOfRangeException ();
				}
			}
			set {
				switch (index) {
				case 0:
					this.m00 = value;
					break;
				case 1:
					this.m01 = value;
					break;
				case 2:
					this.m02 = value;
					break;
				case 3:
					this.m10 = value;
					break;
				case 4:
					this.m11 = value;
					break;
				case 5:
					this.m12 = value;
					break;
				case 6:
					this.m20 = value;
					break;
				case 7:
					this.m21 = value;
					break;
				case 8:
					this.m22 = value;
					break;
				default:
					throw new System.IndexOutOfRangeException ();
				}
			}
		}
	}