{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct XRPointCloud | AR Subsystems | 4.2.9
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRPointCloud

    Represents the session relative data for the XRDepthSubsystem. XRPointClouds are usually created by GetChanges(Allocator).

    Implements
    ITrackable
    IEquatable<XRPointCloud>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: solution.dll
    Syntax
    public struct XRPointCloud : ITrackable, IEquatable<XRPointCloud>

    Constructors

    Name Description
    XRPointCloud(TrackableId, Pose, TrackingState, IntPtr)

    Constructs a new XRPointCloud. This is a container for the session-relative data. These are typically created by GetChanges(Allocator).

    Properties

    Name Description
    defaultValue

    Gets a default-initialized XRPointCloud. This may be different from the zero-initialized version (for example, the pose is Pose.identity instead of zero-initialized).

    nativePtr

    Get the native pointer associated with this point cloud.

    pose

    Get the Pose associated with this point cloud.

    trackableId

    Get the TrackableId associated with this point cloud.

    trackingState

    Get the TrackingState associated with this point cloud.

    Methods

    Name Description
    Equals(object)

    Tests for equality.

    Equals(XRPointCloud)

    Tests for equality.

    GetHashCode()

    Generates a hash suitable for use with containers like HashSet and Dictionary.

    Operators

    Name Description
    operator ==(XRPointCloud, XRPointCloud)

    Tests for equality. Same as Equals(XRPointCloud).

    operator !=(XRPointCloud, XRPointCloud)

    Tests for inequality. Same as !Equals(XRPointCloud).

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)