Table of Contents

Class SampleGradientNode

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

A node whose input is a gradient, and whose output is colors selected from that gradient.

[Version(1, 1, 0)]
public class SampleGradientNode : Node<Gradient, Color>
Inheritance
SampleGradientNode
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

colorCount

How many colors to sample from the gradient.

selectionMode

How to select colors from the gradient.

Methods

Execute(IEnumerable<Gradient>)

Calculates a list of output from a given list of input.

Recompute()

Recomputes a nodes internal values that are independent of the inputs.