Class TrackedDeviceGraphicRaycaster | XR Interaction Toolkit | 0.10.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Class TrackedDeviceGraphicRaycaster

    Inheritance
    Object
    UIBehaviour
    BaseRaycaster
    TrackedDeviceGraphicRaycaster
    Inherited Members
    BaseRaycaster.ToString()
    BaseRaycaster.OnEnable()
    BaseRaycaster.OnDisable()
    BaseRaycaster.OnCanvasHierarchyChanged()
    BaseRaycaster.OnTransformParentChanged()
    BaseRaycaster.priority
    BaseRaycaster.sortOrderPriority
    BaseRaycaster.renderOrderPriority
    BaseRaycaster.rootRaycaster
    UIBehaviour.Awake()
    UIBehaviour.Start()
    UIBehaviour.OnDestroy()
    UIBehaviour.IsActive()
    UnityEngine.EventSystems.UIBehaviour.OnValidate()
    UnityEngine.EventSystems.UIBehaviour.Reset()
    UIBehaviour.OnRectTransformDimensionsChange()
    UIBehaviour.OnBeforeTransformParentChanged()
    UIBehaviour.OnDidApplyAnimationProperties()
    UIBehaviour.OnCanvasGroupChanged()
    UIBehaviour.IsDestroyed()
    Namespace: UnityEngine.XR.Interaction.Toolkit.UI
    Syntax
    public class TrackedDeviceGraphicRaycaster : BaseRaycaster

    Properties

    blockingMask

    Declaration
    public LayerMask blockingMask { get; set; }
    Property Value
    Type Description
    LayerMask

    checkFor2DOcclusion

    Declaration
    public bool checkFor2DOcclusion { get; set; }
    Property Value
    Type Description
    Boolean

    checkFor3DOcclusion

    Declaration
    public bool checkFor3DOcclusion { get; set; }
    Property Value
    Type Description
    Boolean

    eventCamera

    Declaration
    public override Camera eventCamera { get; }
    Property Value
    Type Description
    Camera
    Overrides
    BaseRaycaster.eventCamera

    ignoreReversedGraphics

    Declaration
    public bool ignoreReversedGraphics { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    Raycast(PointerEventData, List<RaycastResult>)

    Perform a raycast against objects within this Raycaster's domain.

    Declaration
    public override void Raycast(PointerEventData eventData, List<RaycastResult> resultAppendList)
    Parameters
    Type Name Description
    PointerEventData eventData

    Data containing where and how to raycast.

    List<RaycastResult> resultAppendList

    The resultant hits from the raycast.

    Back to top
    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