realitycollective / com.realitytoolkit.core

The all-purpose framework for building the next reality
https://realitytoolkit.realitycollective.net/
MIT License
3 stars 0 forks source link

Add Pointer.IsOverUI API #47

Closed FejZa closed 1 year ago

FejZa commented 1 year ago

Reality Collective - Reality Toolkit Pull Request

Overview

A very common scenario in production apps is the need to know, whether a pointer is interacting with UI or with other "regular" objects. This PR adds an IsOverUI API to the pointer interface to query that interface on input events.

The API will always return false for GenericPointers.

Manual testing status

Manually tested.