SAV Color Selector

 

Coming soon! Download from the Unity Asset store

 

SAV Color Selector is a simple and light weight prefab that creates a runtime color selector that you can add to almost any Unity application. Works with Meta Quest interactors. Works in passthrough. Works with Quest 2 and Quest 3 in both AR and VR for a live color selector.

Prefabs for the Meta Quest family of headsets provide an in-headset color selector on both Quest 2 and Quest 3.

Features:
  • Works with Meta Quest Interactions
  • Sliders allow a user to drag to change color
  • Slider value display
  • Slider value displayed and edited in decimal or hexadecimal
  • Slider value editing with the Touchscreen OR the Virtual Overlay keyboards
  • Color can be pre-set or changed dynamically
  • RGB and HSV selection and selection buttons
  • Sample color
  • Color change event
  • Works in Meta XR Simulator (keyboards do not work)

Unity version 2021.3.29f1 or later is required to use SAV Color Selector

Meta Quest Family Only:

  • * A Pointable Canvas Module is required by SAV Color Selector for Interactions.
  • * Meta Quest features, recommended practices and documentation change frequently.
  • Required Meta XR SDKs:
    • Meta XR Core SDK
  • Optional Meta XR SDKs:
    • Meta XR Interaction SDK

 

 



Coming soon! Download from the Unity Asset store

SAV Color Selector QuickStart:

Install SAVColorSelector package.

Meta Quest Family Only:

* Some links may be out of date. Meta Quest features, recommended practices and documentation change frequently.

  1. Setup interactors and interactactables and controllers (see below)
  2. Confirm Pointable Canvas Module exits
  3. Search for and drag the SAVColorSelector prefab into the hierarchy
  4. Search the hierarchy for OVRCameraRig
    1. In OVRManager script->General->Requires System Keyboard
      1. Check for system keyboard
        1. In ColorSelector->OVR Virtual Keyboard, Set OVRVirtualKeyboard to None. (See SAV Color Selector Settings)
      2. Uncheck for OVRVirtualKeyboard
        1. In OVRManager script->General->Virtual Keyboard Support
          1. Choose Supported or Required
        2. Drag your OVRVirtualKeyboard to ColorSelector->OVR Virtual Keyboard (See SAV Color Selector Settings)
  5. Position the SAVColorSelector game object in view of the OVRCameraRig
  6. Build and run
  7. See sample scene "SampleScene - [BuildingBlock]" for a [BuildingBlock] implementation example
  8. See sample scene "SampleScene - OVRCameraRigInteraction" for an OVRCameraRigInteraction implementation example
  • Building Blocks Only:
    1. Drag in a Camera Rig
    2. Drag in Hand Tracking
    3. Drag in Virtual Keyboard
    4. Optional: Drag in Controller Tacking

SAV Color Selector Settings:

Color - input/output color.
HEXInputFormat - When selected slider value will be displayed and edited in hexadecimal. Default is decimal.
DisplayRGB – When selected slider value will be displayed as RGB values. When not selected slider value will be displayed as HSV values.
OVRVirtualKeyboard – The assigned OVRVirtualKeyboard will be used. None (default) is TouchScreenKeyboard.
     * Drag your OVRVirtualKeyboard to this setting.

 

SAV Color Selector additional help:

Both Keyboards show up
- See https://developer.oculus.com/documentation/unity/VK-unity-overview/
**On the Oculus menu, go to Tools > Update AndroidManifest.xml.
- Set visibility of [BuildingBlock] Virtual Keyboard to false in hierarchy.
- Uncheck CameraRig->General->Requires System Keyboard.
- See QuickStart above. In ColorSelector->OVR Virtual Keyboard, Set OVRVirtualKeyboard to None. (See SAV Color Selector Settings)

No keyboards show up
- See QuickStart above.
- Use a short trigger pull on the InputField.

System/Touchscreen keyboards do not dynamically update sliders
- This is unfortunately due to bugs in the System/Touchscreen keyboards we had to work around.
System/Touchscreen keyboards takes extra letters on backspace
- This is unfortunately a bug in the System/Touchscreen keyboard we could not work around.