Skip to content

TextStudioBuiltInTypewriterMotionPreset

StructTextStudio.BuiltInsTextStudio
public readonly struct TextStudioBuiltInTypewriterMotionPreset : ITextStudioBuiltIn

Immutable catalog entry that pairs reveal and hide markup with presentation metadata for a built-in typewriter motion preset.

public readonly string RevealStyle

Returns

System.String

public readonly string HideStyle

Returns

System.String

public readonly string SampleText

Returns

System.String

public readonly TextStudioDefaultEffectMode DefaultEffectMode

Returns

TextStudio.TextStudioDefaultEffectMode

TextStudioBuiltInTypewriterMotionPreset(string, string, string, string, string, string, string)

Section titled “TextStudioBuiltInTypewriterMotionPreset(string, string, string, string, string, string, string)”
public TextStudioBuiltInTypewriterMotionPreset(string id, string displayName, string category, string description, string revealStyle, string hideStyle, string sampleText)

Creates a built-in motion definition. Null reveal or hide markup is normalized to an empty string, and the no-motion preset disables fallback effects automatically.

Parameters

Name Type
id System.String
displayName System.String
category System.String
description System.String
revealStyle System.String
hideStyle System.String
sampleText System.String

Equals(TextStudioBuiltInTypewriterMotionPreset)

Section titled “Equals(TextStudioBuiltInTypewriterMotionPreset)”
public bool Equals(TextStudioBuiltInTypewriterMotionPreset other)

Parameters

Name Type
other TextStudio.BuiltIns.TextStudioBuiltInTypewriterMotionPreset

Returns

System.Boolean

public override bool Equals(object obj)

Parameters

Name Type
obj System.Object

Returns

System.Boolean

public override int GetHashCode()

Returns

System.Int32

public string Id { get; }

Returns

System.String

public string Category { get; }

Returns

System.String

public string DisplayName { get; }

Returns

System.String

public string Description { get; }

Returns

System.String