Esempio n. 1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="libtr.TR1.RoomLight"/> struct.
		/// </summary>
		/// <param name="x">The x coordinate in world coordinates.</param>
		/// <param name="y">The y coordinate in world coordinates.</param>
		/// <param name="z">The z coordinate in world coordinates.</param>
		/// <param name="color">The light color.</param>
		/// <param name="intensity">The intensity of the light.</param> 
		/// <param name="fade">The falloff value.</param>
		public RoomLight (
			Int32 x, Int32 y, Int32 z, TR1.Color4 color,
			UInt32 intensity, UInt32 fade) : this () {
			X = x;
			Y = y;
			Z = z;
			Color = color;
			Intensity = intensity;
			Fade = fade;
		}
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="libtr.TR1.RoomLight"/> struct.
 /// </summary>
 /// <param name="x">The x coordinate in world coordinates.</param>
 /// <param name="y">The y coordinate in world coordinates.</param>
 /// <param name="z">The z coordinate in world coordinates.</param>
 /// <param name="color">The light color.</param>
 /// <param name="intensity">The intensity of the light.</param>
 /// <param name="fade">The falloff value.</param>
 public RoomLight(
     Int32 x, Int32 y, Int32 z, TR1.Color4 color,
     UInt32 intensity, UInt32 fade) : this()
 {
     X         = x;
     Y         = y;
     Z         = z;
     Color     = color;
     Intensity = intensity;
     Fade      = fade;
 }