Exemplo n.º 1
0
 /// <summary>
 ///     Gets model information of the given type.
 /// </summary>
 /// <param name="infotype">The type of information to retrieve.</param>
 public                                     Vector3 this[VehicleModelInfoType infotype]
 {
     get
     {
         VehicleModelInfoInternal.Instance.GetVehicleModelInfo((int)Type, (int)infotype, out var x, out var y, out var z);
         return(new Vector3(x, y, z));
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Gets model information of the given type.
 /// </summary>
 /// <param name="infotype">The type of information to retrieve.</param>
 public                                     Vector3 this[VehicleModelInfoType infotype]
 {
     get
     {
         float x, y, z;
         Native.GetVehicleModelInfo((int)Type, (int)infotype, out x, out y, out z);
         return(new Vector3(x, y, z));
     }
 }
Exemplo n.º 3
0
 /// <summary>
 ///     Gets model information of the given type.
 /// </summary>
 /// <param name="infotype">The type of information to retrieve.</param>
 public Vector3 this[VehicleModelInfoType infotype]
 {
     get
     {
         float x, y, z;
         Internal.GetVehicleModelInfo((int) Type, (int) infotype, out x, out y, out z);
         return new Vector3(x, y, z);
     }
 }