Пример #1
0
 internal override void Apply(Typograph typograph, int glyphIndex, Glyph glyph)
 {
     glyph.Offset += offsets[curIndex++];
 }
Пример #2
0
 internal override void Initialize(Typograph typograph, int glyphIndex, Glyph glyph)
 {
     offsets.Add(Vector2.Zero);
 }
Пример #3
0
 internal override void Apply(Typograph typograph, int glyphIndex, Glyph glyph)
 {
     glyph.Offset += Offset;
 }
Пример #4
0
 internal override void Initialize(Typograph typograph, int glyphIndex, Glyph glyph)
 {
     glyph.Color = Color;
 }
Пример #5
0
 public virtual void Consume(Typograph typograph)
 {
 }
Пример #6
0
 internal override void Apply(Typograph typograph, int glyphIndex, Glyph glyph)
 {
     glyph.Color = Util.ColorUtil.FromHSV(Calc.Loop(curHue + ChangePerCharacter * glyphIndex, 0, 360), 0.8f, 1f);
     curHue     += 360f / (CycleTime * Engine.FrameRate);
 }