RealityUI
A Swift Package for creating familiar UI Elements and animation
RealityUI is a collection of user interface classes for RealityKit. The classes included in RealityUI aim to offer familiar User Interface guidelines, but in a 3D setting for Augmented and Virtual Reality through RealityKit. The User Interface controls in this repository so far are made to be familiar to what people are used to with 2D interfaces, however the plan is to expand the tools on offer to new and unique controls, which are more appropriate for an Augmented Reality and Virtual Reality context. RUISwitch is a 3D toggle switch with an on and off state. Default bounding box is 2x1x1m. RUIStepper is used to increment or decrement a value. Default bounding box is 2x1x0.25m. An interactive track to represent an interpolated value. Default bounding box is 10x1x1m including thumb. RUIButton is used to initiate a specified action. The action here will only trigger if the gesture begins on a button, and also ends on the same button.