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<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<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 NativeArray
s, checking for existence first.
Declaration
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(XRPointCloudData)
Declaration
public bool Equals(XRPointCloudData other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Equality(XRPointCloudData, XRPointCloudData)
Declaration
public static bool operator ==(XRPointCloudData lhs, XRPointCloudData rhs)
Parameters
Returns
Inequality(XRPointCloudData, XRPointCloudData)
Declaration
public static bool operator !=(XRPointCloudData lhs, XRPointCloudData rhs)
Parameters
Returns