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 |