Class RayEventData | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class RayEventData

    Inheritance
    Object
    RayEventData
    Namespace: UnityEditor.Experimental.EditorVR.Modules
    Syntax
    public sealed class RayEventData : PointerEventData

    Constructors

    RayEventData(EventSystem)

    Declaration
    public RayEventData(EventSystem eventSystem)
    Parameters
    Type Name Description
    EventSystem eventSystem

    Properties

    camera

    The camera from where the ray is cast if this event came from the screen

    Declaration
    public Camera camera { get; set; }
    Property Value
    Type Description
    Camera

    node

    The node associated with the ray

    Declaration
    public Node node { get; set; }
    Property Value
    Type Description
    Node

    pointerLength

    The length of the direct selection pointer

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

    rayOrigin

    The root from where the ray is cast

    Declaration
    public Transform rayOrigin { get; set; }
    Property Value
    Type Description
    Transform
    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