UnityMol  0.9.6-875
UnityMol viewer / In developement
EncodeFloatToColor Class Reference
+ Inheritance diagram for EncodeFloatToColor:
+ Collaboration diagram for EncodeFloatToColor:

Static Public Member Functions

static Vector4 Frac (Vector4 vector_a)
 
static Vector4 EncodeFloatRGBA (float v)
 
static string IntToBinaryString (float number, bool fraction, int padding)
 
static string FloatToBinaryString (float f)
 
static Color BinaryStringToColor (string b)
 
static Color FloatToColor (float f)
 

Detailed Description

Definition at line 6 of file EncodeFloatToColor.cs.

Member Function Documentation

static Color EncodeFloatToColor.BinaryStringToColor ( string  b)
static

Definition at line 230 of file EncodeFloatToColor.cs.

Referenced by FloatToColor().

+ Here is the caller graph for this function:

static string EncodeFloatToColor.FloatToBinaryString ( float  f)
static

Definition at line 103 of file EncodeFloatToColor.cs.

References IntToBinaryString().

Referenced by FloatToColor().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Color EncodeFloatToColor.FloatToColor ( float  f)
static

Definition at line 286 of file EncodeFloatToColor.cs.

References BinaryStringToColor(), and FloatToBinaryString().

+ Here is the call graph for this function:

static Vector4 EncodeFloatToColor.Frac ( Vector4  vector_a)
static

Definition at line 12 of file EncodeFloatToColor.cs.

Referenced by EncodeFloatRGBA().

+ Here is the caller graph for this function:

static string EncodeFloatToColor.IntToBinaryString ( float  number,
bool  fraction,
int  padding 
)
static

Definition at line 42 of file EncodeFloatToColor.cs.

Referenced by FloatToBinaryString().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: