Class GraphUtility
Inheritance
System.Object
GraphUtility
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEditor.ResourceManagement.Diagnostics
Syntax
public static class GraphUtility
Methods
PixelToValue(Single, Single, Single, Single)
Declaration
public static float PixelToValue(float pixel, float min, float max, float valueRange)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | pixel | |
| System.Single | min | |
| System.Single | max | |
| System.Single | valueRange |
Returns
| Type | Description |
|---|---|
| System.Single |
ValueToPixel(Single, Single, Single, Single)
Declaration
public static float ValueToPixel(float value, float min, float max, float pixelRange)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | value | |
| System.Single | min | |
| System.Single | max | |
| System.Single | pixelRange |
Returns
| Type | Description |
|---|---|
| System.Single |
ValueToPixelUnclamped(Single, Single, Single, Single)
Declaration
public static float ValueToPixelUnclamped(float value, float min, float max, float pixelRange)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | value | |
| System.Single | min | |
| System.Single | max | |
| System.Single | pixelRange |
Returns
| Type | Description |
|---|---|
| System.Single |