Struct DirectSelectionData | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Struct DirectSelectionData

    Stores the state of a direct selection

    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public struct DirectSelectionData

    Properties

    contactPoint

    The point in world space where the tester intersects with the object

    Declaration
    public Vector3 contactPoint { get; set; }
    Property Value
    Type Description
    Vector3

    gameObject

    The object which is selected

    Declaration
    public GameObject gameObject { get; set; }
    Property Value
    Type Description
    GameObject
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX