docs.unity3d.com
    目次を表示する/隠す

    Class ARObjectImporter

    Importer for .arobject files. See Scanning and Detecting 3D Objects for instructions on how to generate these files.

    Inheritance
    Object
    Object
    AssetImporter
    ScriptedImporter
    ARObjectImporter
    Inherited Members
    ScriptedImporter.SupportsRemappedAssetType(Type)
    AssetImporter.SetAssetBundleNameAndVariant(String, String)
    AssetImporter.GetAtPath(String)
    AssetImporter.SaveAndReimport()
    UnityEditor.AssetImporter.AddRemap(UnityEditor.AssetImporter.SourceAssetIdentifier, UnityEngine.Object)
    UnityEditor.AssetImporter.RemoveRemap(UnityEditor.AssetImporter.SourceAssetIdentifier)
    AssetImporter.GetExternalObjectMap()
    AssetImporter.assetPath
    AssetImporter.importSettingsMissing
    UnityEditor.AssetImporter.assetTimeStamp
    AssetImporter.userData
    AssetImporter.assetBundleName
    AssetImporter.assetBundleVariant
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEditor.XR.ARKit
    Syntax
    [ScriptedImporter(1, "arobject")]
    public class ARObjectImporter : ScriptedImporter

    Methods

    OnImportAsset(AssetImportContext)

    Invoked automatically when an .arobject file is imported.

    Declaration
    public override void OnImportAsset(AssetImportContext ctx)
    Parameters
    Type Name Description
    AssetImportContext ctx

    The context associated with the asset import.

    Overrides
    ScriptedImporter.OnImportAsset(AssetImportContext)

    ReadARObject(String)

    Attempts to read the contents of the .arobject archive.

    Declaration
    public static ARObject? ReadARObject(string path)
    Parameters
    Type Name Description
    String path

    The path to an .arobject archive.

    Returns
    Type Description
    Nullable<ARObject>

    If successful, an ARObject describing the archive. Otherwise, null.

    ReadInfo(String)

    Attempts to read metadata from the .arobject archive.

    Declaration
    public static ARObjectInfo? ReadInfo(string path)
    Parameters
    Type Name Description
    String path

    The path to an .arobject archive.

    Returns
    Type Description
    Nullable<ARObjectInfo>

    If successful, an ARObjectInfo containing metadata describing the archive. Otherwise, null.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if path is null or the empty string.

    See Also

    ARKitReferenceObjectEntry
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)