Skip to content

TextStudioRevealDebugSnapshot

StructTextStudioTextStudio
public readonly struct TextStudioRevealDebugSnapshot

Immutable reveal/timing snapshot for inspectors, diagnostics, and integration health checks. Reading this type does not mutate the text pipeline.

public readonly bool HasPlan

Returns

System.Boolean

public readonly string Markup

Returns

System.String

public readonly string ResolvedText

Returns

System.String

public readonly RevealMode RevealMode

Returns

TextStudio.RevealMode

public readonly PlacementMode PlacementMode

Returns

TextStudio.PlacementMode

public readonly int RevealedGlyphCount

Returns

System.Int32

public readonly int TotalGlyphCount

Returns

System.Int32

public readonly float RevealProgress

Returns

System.Single

public readonly float SpeedMultiplier

Returns

System.Single

public readonly float ApproximateDuration

Returns

System.Single

public readonly bool IsRevealing

Returns

System.Boolean

public readonly bool IsComplete

Returns

System.Boolean

public readonly bool IsPaused

Returns

System.Boolean

public readonly bool IsLoopWaiting

Returns

System.Boolean

public readonly int ActiveActionCount

Returns

System.Int32

public readonly int ActionMarkerCount

Returns

System.Int32

public readonly int EffectBindingCount

Returns

System.Int32

public readonly int RendererCount

Returns

System.Int32

public readonly bool HasExternalTextSource

Returns

System.Boolean

public readonly int ExternalTextSourceCount

Returns

System.Int32

public readonly int WordCount

Returns

System.Int32

public readonly bool HasVisibilityOverrides

Returns

System.Boolean

public readonly bool RevealEffectsEnabled

Returns

System.Boolean

public readonly bool ActiveEffectsEnabled

Returns

System.Boolean

public readonly bool HideEffectsEnabled

Returns

System.Boolean

TextStudioRevealDebugSnapshot(bool, string, string, RevealMode, PlacementMode, int, int, float, float, float, bool, bool, bool, bool, int, int, int, int, bool, int, int, bool, bool, bool, bool)

Section titled “TextStudioRevealDebugSnapshot(bool, string, string, RevealMode, PlacementMode, int, int, float, float, float, bool, bool, bool, bool, int, int, int, int, bool, int, int, bool, bool, bool, bool)”
public TextStudioRevealDebugSnapshot(bool hasPlan, string markup, string resolvedText, RevealMode revealMode, PlacementMode placementMode, int revealedGlyphCount, int totalGlyphCount, float revealProgress, float speedMultiplier, float approximateDuration, bool isRevealing, bool isComplete, bool isPaused, bool isLoopWaiting, int activeActionCount, int actionMarkerCount, int effectBindingCount, int rendererCount, bool hasExternalTextSource, int externalTextSourceCount, int wordCount = 0, bool hasVisibilityOverrides = false, bool revealEffectsEnabled = true, bool activeEffectsEnabled = true, bool hideEffectsEnabled = true)

Creates a diagnostic snapshot from the current compiled plan, playback, renderer, and integration state. String arguments are normalized to empty strings so consumers do not need null checks.

Parameters

Name Type
hasPlan System.Boolean
markup System.String
resolvedText System.String
revealMode TextStudio.RevealMode
placementMode TextStudio.PlacementMode
revealedGlyphCount System.Int32
totalGlyphCount System.Int32
revealProgress System.Single
speedMultiplier System.Single
approximateDuration System.Single
isRevealing System.Boolean
isComplete System.Boolean
isPaused System.Boolean
isLoopWaiting System.Boolean
activeActionCount System.Int32
actionMarkerCount System.Int32
effectBindingCount System.Int32
rendererCount System.Int32
hasExternalTextSource System.Boolean
externalTextSourceCount System.Int32
wordCount System.Int32
hasVisibilityOverrides System.Boolean
revealEffectsEnabled System.Boolean
activeEffectsEnabled System.Boolean
hideEffectsEnabled System.Boolean