Skip to content

ColorEffect

ClassTextStudio.EffectsTextStudio
[EffectInfo("Color", "Color", "Overrides glyph color from a solid tint, gradient, or rainbow hue cycle.", "<color>text</color>")]
public class ColorEffect : TextStudioEffectAsset<EmptyState, ColorEffectParams>, ITextStudioEffectCapabilitiesProvider, ITextStudioEffect, ITextStudioEffectDefinition

No description is available for this type.

protected override ColorEffectParams CreateDefaultParams(AnimationPhase phase)

No description is available for this member.

Parameters

Name Type Description
phase TextStudio.AnimationPhase

Returns

TextStudio.Effects.ColorEffectParams — No return description is available.

EvaluateEffect(ref EvaluatedGlyphState, ref EmptyState, in ColorEffectParams, in EffectEvaluationContext, EffectBlendMode)

Section titled “EvaluateEffect(ref EvaluatedGlyphState, ref EmptyState, in ColorEffectParams, in EffectEvaluationContext, EffectBlendMode)”
protected override void EvaluateEffect(ref EvaluatedGlyphState glyphState, ref EmptyState effectState, in ColorEffectParams p, in EffectEvaluationContext ctx, EffectBlendMode blendMode)

No description is available for this member.

Parameters

Name Type Description
glyphState TextStudio.EvaluatedGlyphState
effectState TextStudio.Effects.EmptyState
p TextStudio.Effects.ColorEffectParams
ctx TextStudio.EffectEvaluationContext
blendMode TextStudio.EffectBlendMode

public ColorEffect()

No description is available for this member.

protected override string DefaultId { get; }

No description is available for this member.

Returns

System.String — No return description is available.