docs.unity.cn
    Show / Hide Table of Contents

    Class ARAnnotation

    An annotation that appears when hovering over the GameObject this component is attached to.

    Inheritance
    Object
    ARAnnotation
    Namespace: UnityEngine.XR.Interaction.Toolkit.AR
    Syntax
    public class ARAnnotation : object

    Properties

    annotationVisualization

    The visualization that will become active when the object is hovered over.

    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 Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Wednesday, October 27, 2021