예제 #1
0
 public bool Equals(ref AddSubmeshArguments other)
 {
     return
         //!ReferenceEquals(material, null) &&
         //!ReferenceEquals(other.material, null) &&
         //material.GetInstanceID() == other.material.GetInstanceID() &&
         (startSlot == other.startSlot &&
          endSlot == other.endSlot &&
          triangleCount == other.triangleCount &&
          firstVertex == other.firstVertex);
 }
예제 #2
0
			public bool Equals (ref AddSubmeshArguments other) {
				return
					!ReferenceEquals(material, null) &&
					!ReferenceEquals(other.material, null) &&
					material.GetInstanceID() == other.material.GetInstanceID() &&
					startSlot == other.startSlot &&
					endSlot == other.endSlot &&
					triangleCount == other.triangleCount &&
					firstVertex == other.firstVertex;
			}