Struct XRPointCloudData
Represents the data (arrays of positions, confidence values, and identifiers) associated with a point cloud.
Syntax
public struct XRPointCloudData : IEquatable<XRPointCloudData>, IDisposable
Properties
confidenceValues
Confidence values for each point in the point cloud. This array is parallel
to positions and identifiers.
Use confidenceValues.IsCreated to check for existence.
Declaration
public NativeArray<float> confidenceValues { get; set; }
Property Value
| Type |
Description |
| NativeArray<System.Single> |
|
identifiers
Identifiers for each point in the point cloud. This array is parallel
to positions and confidenceValues.
Use identifiers.IsCreated to check for existence.
Declaration
public NativeArray<ulong> identifiers { get; set; }
Property Value
| Type |
Description |
| NativeArray<System.UInt64> |
|
positions
Positions for each point in the point cloud. This array is parallel
to confidenceValues and identifiers.
Use positions.IsCreated to check for existence.
Declaration
public NativeArray<Vector3> positions { get; set; }
Property Value
| Type |
Description |
| NativeArray<Vector3> |
|
Methods
Dispose()
Disposes of the NativeArrays, checking for existence first.
Declaration
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(XRPointCloudData)
Declaration
public bool Equals(XRPointCloudData other)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.ValueType.ToString()
Operators
Equality(XRPointCloudData, XRPointCloudData)
Declaration
public static bool operator ==(XRPointCloudData lhs, XRPointCloudData rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Inequality(XRPointCloudData, XRPointCloudData)
Declaration
public static bool operator !=(XRPointCloudData lhs, XRPointCloudData rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|