UnityMol  0.9.6-875
UnityMol viewer / In developement
Developer Guide - External assets and tools

pre-v0.9.5

umollogo

External tools used in UnityMol

Matcap shaders

Todo:
Describe which matcap shader implementation we use.

There is also another a free shader implementation by Jean Moreno: http://jeanmoreno.com/unity/matcap/.

HSV color picker for Unity's uGUI

alt tag

Should be really easy to use. Just add the prefab to the canvas, hook up an event, and it's good to go.

1 public Renderer renderer;
2 public HSVPicker picker;
3 
4 // Use this for initialization
5 void Start ()
6 {
7  picker.onValueChanged.AddListener(color =>
8  {
9  renderer.material.color = color;
10  });
11 }
12 
13 // Update is called once per frame
14 void Update () {
15 
16 }

If you want to assign your own color first, just do this call and it sets the slider and picker to the proper selection.

1 Color color = Color.green;
2 picker.AssignColor(color);