namespace UnityEngine.XR.ARSubsystems { /// /// A provider-specific reference object. /// /// /// /// A reference object represents a 3D scan of a real object that can /// be recognized in the environment. Each /// contains a list of provider-specific . /// Each provider (implementation of ) /// should derive a new type from this type. /// /// Each is generally an asset on disk /// in a format specific to that provider. /// /// /// /// [HelpURL(typeof(XRReferenceObjectEntry))] public abstract class XRReferenceObjectEntry : ScriptableObject { /// /// Invoked when an is added to an . /// /// /// Override this method if your needs to perform logic when a novel /// is added to an . /// /// The default implementation takes no action and has no effect. /// /// The library to which is being added. /// The reference object being added to . protected internal virtual void OnAddToLibrary(XRReferenceObjectLibrary library, XRReferenceObject referenceObject) { } } }