Class SetSaturation
A node that takes input colors, and return the same colors with the saturation set.
[Version(1, 1, 0)]
public class SetSaturation : ColorTransformRandomNode
- Inheritance
-
SetSaturation
- Inherited Members
-
Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.ToString()Object.hideFlags
Fields
- range
The range of the values to generate. For example, if saturation is at 0.3, and range is ar 0.2 the algorithm will set saturations between 0.2 and 0.4.
- saturation
The base of the saturation value.
Methods
- Transform(Color, float)
Randomly transforms the input.