Struct XRPointCloud
Syntax
public struct XRPointCloud : ITrackable, IEquatable<XRPointCloud>
Constructors
XRPointCloud(TrackableId, Pose, TrackingState, IntPtr)
Constructs a new XRPointCloud. This is a container
for the session-relative data. These are typically created by
.
Declaration
public XRPointCloud(TrackableId trackableId, Pose pose, TrackingState trackingState, IntPtr nativePtr)
Parameters
| Type |
Name |
Description |
| TrackableId |
trackableId |
The TrackableId associated with the point cloud.
|
| Pose |
pose |
The Pose associated with the point cloud.
|
| TrackingState |
trackingState |
The TrackingState associated with the point cloud.
|
| System.IntPtr |
nativePtr |
The native pointer associated with the point cloud.
|
Properties
nativePtr
Get the native pointer associated with this point cloud.
Declaration
public IntPtr nativePtr { get; }
Property Value
| Type |
Description |
| System.IntPtr |
|
pose
Get the Pose associated with this point cloud.
Declaration
public Pose pose { get; }
Property Value
Implements
trackableId
Declaration
public TrackableId trackableId { get; }
Property Value
Implements
trackingState
Declaration
public TrackingState trackingState { get; }
Property Value
Implements
Methods
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(XRPointCloud)
Declaration
public bool Equals(XRPointCloud other)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
GetDefault()
Gets a default-initialized XRPointCloud. This may be
different from the zero-initialized version, e.g., the pose
is Pose.identity instead of zero-initialized.
Declaration
public static XRPointCloud GetDefault()
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Operators
Equality(XRPointCloud, XRPointCloud)
Declaration
public static bool operator ==(XRPointCloud lhs, XRPointCloud rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Inequality(XRPointCloud, XRPointCloud)
Declaration
public static bool operator !=(XRPointCloud lhs, XRPointCloud rhs)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|