fCraft.Vector3f.this C# (CSharp) Method

this() public method

public this ( int i ) : float
i int
return float
        public float this[int i]
        {
            get
            {
                switch (i)
                {
                    case 0: return x;
                    case 1: return h;
                    default: return y;
                }
            }
            set
            {
                switch (i)
                {
                    case 0: x = value; return;
                    case 1: h = value; return;
                    default: y = value; return;
                }
            }
        }