C# Class Nez.ColorCycler

Inheritance: Component, IUpdatable
Show file Open project: prime31/Nez

Public Properties

Property Type Description
affectsIntensity bool
amplitude float
colorChannel Colorchannels
frequency float
offset float
phase float
waveFunction WaveFunctions

Public Methods

Method Description
IUpdatable ( ) : void
onAddedToEntity ( ) : void

Private Methods

Method Description
evaluateWaveFunction ( ) : float

Method Details

IUpdatable() public method

public IUpdatable ( ) : void
return void

onAddedToEntity() public method

public onAddedToEntity ( ) : void
return void

Property Details

affectsIntensity public property

public bool affectsIntensity
return bool

amplitude public property

this value is multiplied by the calculated value
public float amplitude
return float

colorChannel public property

public Colorchannels colorChannel
return Colorchannels

frequency public property

cycles per second
public float frequency
return float

offset public property

This value is added to the final result. 0 - 1 range.
public float offset
return float

phase public property

start point in wave function. 0 - 1 range.
public float phase
return float

waveFunction public property

public WaveFunctions waveFunction
return WaveFunctions