Class BehaviorSine
Behavior helper class that automatically manages the following modifiers: (a = amplitude), (f = frequency) and (w = waveSize).
You can inerith from this class and use the modifiers as you prefer in your effects, without having to set up them inside the SetModifier(String, String) method.
Assembly: Febucci.TextAnimator.Runtime.dll
Syntax
public abstract class BehaviorSine : BehaviorBase
Examples
All the TextAnimator effects that have 3 modifiers inerith from this class. You can check their source code to see how they are set up, example: Febucci.UI.Core.WiggleBehavior or Febucci.UI.Core.WaveBehavior
Fields
amplitude
Declaration
protected float amplitude
Field Value
frequency
Declaration
protected float frequency
Field Value
waveSize
Declaration
Field Value
Methods
SetModifier(String, String)
Declaration
public override void SetModifier(string modifierName, string modifierValue)
Parameters
Type |
Name |
Description |
String |
modifierName |
|
String |
modifierValue |
|
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides