Table of Contents

Class SetLuminance

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

A node that outputs it's input colors with the luminance set.

[Version(1, 1, 0)]
public class SetLuminance : ColorTransformRandomNode
Inheritance
SetLuminance
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

luminance

The base of the luminance value.

range

The range of the values to generate. For example, if luminance is at 0.3, and range is ar 0.2 the algorithm will set luminances between 0.2 and 0.4.

Methods

Transform(Color, float)

Randomly transforms the input.