docs.unity3d.com
    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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit.AR
    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
    Single

    maxFOVCenterOffsetAngle

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

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

    minAnnotationRange

    Minimum range to show annotation at.

    Declaration
    public float minAnnotationRange { get; set; }
    Property Value
    Type Description
    Single
    Back to top
    Terms of use
    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