Ejemplo n.º 1
0
		/// <summary>
		/// Initializes a new instance of the <see cref="libtr.TR2.RoomStaticMesh"/> struct.
		/// </summary>
		/// <param name="x">The x coordinate.</param>
		/// <param name="y">The y coordinate.</param>
		/// <param name="z">The z coordinate.</param>
		/// <param name="rotation">The rotation.</param>
		/// <param name = "color">The color.</param>
		/// <param name="meshid">The mesh id.</param>
		public RoomStaticMesh (
			UInt32 x, UInt32 y, UInt32 z,
			UInt16 rotation, Argb16Color4 color, UInt16 meshid) : this () {
			X = x;
			Y = y;
			Z = z;
			Rotation = rotation;
			Color = color;
			MeshId = meshid;
		}
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="libtr.TR2.RoomStaticMesh"/> struct.
 /// </summary>
 /// <param name="x">The x coordinate.</param>
 /// <param name="y">The y coordinate.</param>
 /// <param name="z">The z coordinate.</param>
 /// <param name="rotation">The rotation.</param>
 /// <param name = "color">The color.</param>
 /// <param name="meshid">The mesh id.</param>
 public RoomStaticMesh(
     UInt32 x, UInt32 y, UInt32 z,
     UInt16 rotation, Argb16Color4 color, UInt16 meshid) : this()
 {
     X        = x;
     Y        = y;
     Z        = z;
     Rotation = rotation;
     Color    = color;
     MeshId   = meshid;
 }