C# Class Nez.ColorCycler

Inheritance: Component, IUpdatable
Exibir arquivo 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_oe property

public bool affectsIntensity
return bool

amplitude public_oe property

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

colorChannel public_oe property

public Colorchannels colorChannel
return Colorchannels

frequency public_oe property

cycles per second
public float frequency
return float

offset public_oe property

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

phase public_oe property

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

waveFunction public_oe property

public WaveFunctions waveFunction
return WaveFunctions