Classes
| Class | Description |
---|
| UxrButton3D |
Base class to simplify interacting with 3D button objects by programming 2D UI elements. A 2D Unity UI Canvas is placed on top of the 3D buttons. The Canvas will contain invisible UxrControlInput UI components by using UxrNonDrawingGraphic instead of images. The UxrControlInput components will get the user input and through child implementations of UxrButton3D the 3D objects will be “pushed”, “rotated” creating 3D behaviour using 2D logic. |
| UxrButton3DPress |
Component that moves a 3D object when a given UI control is being pressed |
| UxrButton3DRotate |
Component that rotates a 3D object when a given UI control is being pressed. This allows to model buttons that rotate depending on the point of pressure. The axis of rotation will be computed automatically, the center will be given by Target and the pressure applied will be on the transform of this component. |
| UxrControlInputDestroyOnPress |
Component that, added to a GameObject with a UxrControlInput component, will destroy the GameObject whenever the control is clicked. |
| UxrDynamicPixelsPerUnit |
Component that adjusts the dynamic pixels per unit value in a Canvas component depending on the distance to the avatar. It helps removing filtering artifacts when using composition layers is not possible. |
| UxrHoverTimerClick |
Component that, added to a GameObject with a UxrControlInput component, will automatically generate a Click event on the control whenever the cursor spends a given amount of time over it. It can be used to implement clicks using the gaze pointer (UxrCameraPointer). |