![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Static Public Member Functions | |
static Texture2D | ToGray (Texture texture) |
static Texture2D | ToGray (string resource_name) |
Definition at line 4 of file TextureGray.cs.
|
static |
Return the grayscale version of a texture
texture | Texture to transform. Texture. |
Definition at line 14 of file TextureGray.cs.
Referenced by UI.GUIDisplay.AtomScales(), UI.GUIDisplay.FileSelectedCallback(), and ToGray().
|
static |
Return the grayscale version of a texture
resource_name | Path of the Texture to transform. String. |
Definition at line 39 of file TextureGray.cs.
References ToGray().