idTech4.Math.idAngles.Get C# (CSharp) Метод

Get() публичный Метод

public Get ( int index ) : float
index int
Результат float
		public float Get(int index)
		{
			if(index == 0)
			{
				return this.Pitch;
			}
			else if(index == 1)
			{
				return this.Yaw;
			}
			else if(index == 2)
			{
				return this.Roll;
			}

			throw new ArgumentOutOfRangeException("index");
		}