Class RandomOffsetNode
A node that randomly offsets the colors of its inputs.
[Version(1, 1, 0)]
public class RandomOffsetNode : Node<Color, Color>
- Inheritance
-
RandomOffsetNode
- 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
- count
If multi is true, the number of random numbers to generate.
- multi
If true, the node will generate count number of random values, and generate a set of colors for each input color using the same set of random values for each color. The number of outputs will be the number of inputs times the number count.
If false, a random value will be generated for each color, and one color will be generated for each input color using that random value. The number of outputs will be the same as the number of inputs.
Methods
- Execute(IEnumerable<Color>)
Calculates a list of output from a given list of input.
- Recompute()
Recomputes a nodes internal values that are independent of the inputs.