Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ExceptWith

Removes the values from this set which are also present in another collection.
Read time 7 minutesLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

ExceptWith<T>(NativeHashSet<T>, FixedList128Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, FixedList128Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, FixedList32Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, FixedList32Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, FixedList4096Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, FixedList4096Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, FixedList512Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, FixedList512Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, FixedList64Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, FixedList64Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, NativeArray<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, NativeArray<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, NativeHashSet<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, NativeHashSet<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, ReadOnly)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, NativeHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, NativeParallelHashSet<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, NativeParallelHashSet<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, ReadOnly)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeHashSet<T>, NativeList<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeHashSet<T> container, NativeList<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, FixedList128Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, FixedList128Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, FixedList32Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, FixedList32Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, FixedList4096Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, FixedList4096Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, FixedList512Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, FixedList512Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, FixedList64Bytes<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, FixedList64Bytes<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, NativeArray<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, NativeArray<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, NativeHashSet<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, NativeHashSet<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, ReadOnly)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, NativeHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, NativeParallelHashSet<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, NativeParallelHashSet<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, ReadOnly)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, NativeParallelHashSet<T>.ReadOnly other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.

ExceptWith<T>(NativeParallelHashSet<T>, NativeList<T>)

Removes the values from this set which are also present in another collection.
public static void ExceptWith<T>(this ref NativeParallelHashSet<T> container, NativeList<T> other) where T : unmanaged, IEquatable<T>

Parameters

The set to remove values from.

The collection to compare with.