Skip to content

TextStudioResolvedBehaviorSettings

StructTextStudioTextStudio
public readonly struct TextStudioResolvedBehaviorSettings

Resolves the two renderer-neutral behavior domains independently, so a profile can replace effects without taking ownership of a host’s typewriter recipe, or vice versa.

TextStudioResolvedBehaviorSettings(TextStudioDefaultEffectSettings, TextStudioTypewriterRecipe, TextStudioBehaviorValueSource, TextStudioBehaviorValueSource)

Section titled “TextStudioResolvedBehaviorSettings(TextStudioDefaultEffectSettings, TextStudioTypewriterRecipe, TextStudioBehaviorValueSource, TextStudioBehaviorValueSource)”
public TextStudioResolvedBehaviorSettings(TextStudioDefaultEffectSettings defaultEffects, TextStudioTypewriterRecipe typewriter, TextStudioBehaviorValueSource defaultEffectsSource, TextStudioBehaviorValueSource typewriterSource)

Creates resolved settings and records the source selected for each behavior domain.

Parameters

Name Type
defaultEffects TextStudio.TextStudioDefaultEffectSettings
typewriter TextStudio.TextStudioTypewriterRecipe
defaultEffectsSource TextStudio.TextStudioBehaviorValueSource
typewriterSource TextStudio.TextStudioBehaviorValueSource

public TextStudioDefaultEffectSettings DefaultEffects { get; }

Returns

TextStudio.TextStudioDefaultEffectSettings

public TextStudioTypewriterRecipe Typewriter { get; }

Returns

TextStudio.TextStudioTypewriterRecipe

public TextStudioBehaviorValueSource DefaultEffectsSource { get; }

Returns

TextStudio.TextStudioBehaviorValueSource

public TextStudioBehaviorValueSource TypewriterSource { get; }

Returns

TextStudio.TextStudioBehaviorValueSource

public bool UsesBehaviorProfileDefaultEffects { get; }

Returns

System.Boolean

public bool UsesBehaviorProfileTypewriter { get; }

Returns

System.Boolean