docs.unity3d.com
    Show / Hide Table of Contents

    Struct ARObject

    Represents an ARKit ARObject archive, often a file with a .arobject extension. See Scanning and Detecting 3D Objects for instructions on how to generate these files.

    Namespace: UnityEditor.XR.ARKit
    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.

    Properties

    info

    The ARObjectInfo associated with this ARObject.

    Declaration
    public ARObjectInfo info { get; }
    Property Value
    Type Description
    ARObjectInfo

    preview

    A preview image associated with the ARObject.

    Declaration
    public Texture2D preview { get; }
    Property Value
    Type Description
    Texture2D

    See Also

    ARObjectInfo
    ARKitReferenceObjectEntry
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023