Class ColormapViridis
This is a utility class for the Viridis color map that can be used to look up color values.
Inheritance
System.Object
ColormapViridis
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IMLD.MixedRealityAnalysis.Views
Assembly: Assembly-CSharp.dll
Syntax
public class ColormapViridis
Methods
GetValueAt(Single)
Gets the color at the provided position of the Viridis color map.
Declaration
public static Color GetValueAt(float val)
Parameters
Type | Name | Description |
---|---|---|
System.Single | val | A value between 0 and 1. |
Returns
Type | Description |
---|---|
UnityEngine.Color | The color. |