docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ARObject

    Represents an ARKit ARObject archive. This is the contents of a file with extension .arobject. See Scanning and Detecting 3D Objects for instructions on how to generate these files.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.XR.ARKit
    Assembly: Unity.XR.ARKit.Editor.dll
    Syntax
    public struct ARObject

    Constructors

    ARObject(ARObjectInfo, Texture2D)

    Constructs an ARObject.

    Declaration
    public ARObject(ARObjectInfo info, Texture2D preview)
    Parameters
    Type Name Description
    ARObjectInfo info

    The ARObjectInfo associated with this ARObject.

    Texture2D preview

    A preview image associated with the ARObject.

    See Also
    ARObjectInfo
    ARKitReferenceObjectEntry

    Properties

    info

    The ARObjectInfo associated with this ARObject.

    Declaration
    public readonly ARObjectInfo info { get; }
    Property Value
    Type Description
    ARObjectInfo
    See Also
    ARObjectInfo
    ARKitReferenceObjectEntry

    preview

    A preview image associated with the ARObject.

    Declaration
    public readonly Texture2D preview { get; }
    Property Value
    Type Description
    Texture2D
    See Also
    ARObjectInfo
    ARKitReferenceObjectEntry

    See Also

    ARObjectInfo
    ARKitReferenceObjectEntry
    In This Article
    Back to top
    Copyright © 2025 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)