Interface IProvidesRaycastResults
Provide access to the spatial hash
Namespace: Unity.Labs.EditorXR.Interfaces
Syntax
public interface IProvidesRaycastResults : IFunctionalityProvider
Methods
GetFirstGameObject(Transform)
Method used to test hover/intersection Returns the first GameObject being hovered over, or intersected with
Declaration
GameObject GetFirstGameObject(Transform rayOrigin)
Parameters
Type | Name | Description |
---|---|---|
Transform | rayOrigin | The rayOrigin for intersection purposes |
Returns
Type | Description |
---|---|
GameObject |