ARPointCloudUpdatedEventArgs.cs
1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using System;
namespace UnityEngine.XR.ARFoundation
{
/// <summary>
/// The arguments for the <see cref="ARPointCloud.updated"/>
/// event. This is currently empty, but may change in the future without the need to change the
/// subscribers' method signatures.
/// </summary>
public struct ARPointCloudUpdatedEventArgs : IEquatable<ARPointCloudUpdatedEventArgs>
{
/// <summary>
/// Generates a hash code suitable for use in a <c>Dictionary</c> or <c>HashSet</c>.
/// </summary>
public override int GetHashCode()
{
unchecked
{
return 0;
}
}
public override bool Equals(object obj)
{
if (!(obj is ARPointCloudUpdatedEventArgs))
return false;
return Equals((ARPointCloudUpdatedEventArgs)obj);
}
/// <summary>
/// Interface for <c>IEquatable</c>
/// </summary>
public bool Equals(ARPointCloudUpdatedEventArgs other)
{
return true;
}
public static bool operator ==(ARPointCloudUpdatedEventArgs lhs, ARPointCloudUpdatedEventArgs rhs)
{
return lhs.Equals(rhs);
}
public static bool operator !=(ARPointCloudUpdatedEventArgs lhs, ARPointCloudUpdatedEventArgs rhs)
{
return !lhs.Equals(rhs);
}
}
}