docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ARAnnotation

    An annotation that appears when the user hovers over the GameObject that the ARAnnotationInteractable component governing this annotation is attached to.

    Inheritance
    object
    ARAnnotation
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Interaction.Toolkit.AR
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    [Serializable]
    public class ARAnnotation

    Properties

    annotationVisualization

    The visualization GameObject that will become active when the user hovers over this object.

    Declaration
    public GameObject annotationVisualization { get; set; }
    Property Value
    Type Description
    GameObject

    maxAnnotationRange

    Maximum range to show annotation at.

    Declaration
    public float maxAnnotationRange { get; set; }
    Property Value
    Type Description
    float

    maxFOVCenterOffsetAngle

    Maximum angle (in radians) off of FOV horizontal center to show annotation.

    Declaration
    public float maxFOVCenterOffsetAngle { get; set; }
    Property Value
    Type Description
    float

    minAnnotationRange

    Minimum range to show annotation at.

    Declaration
    public float minAnnotationRange { get; set; }
    Property Value
    Type Description
    float
    In This Article
    Back to top
    Copyright © 2024 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)