ITextStudioStatefulPreviewProvider
public interface ITextStudioStatefulPreviewProviderStateful preview lifecycle for simulations and other history-dependent extensions.
Methods
Section titled “Methods”
ResetPreview()
Section titled “ResetPreview()”void ResetPreview()Resets preview state to its initial time and values.
StepPreview(float)
Section titled “StepPreview(float)”void StepPreview(float deltaTime)Advances preview state by the supplied time interval.
Parameters
| Name | Type |
|---|---|
deltaTime |
System.Single |
SeekPreview(double, TextStudioStatefulPreviewSeekMode)
Section titled “SeekPreview(double, TextStudioStatefulPreviewSeekMode)”bool SeekPreview(double time, TextStudioStatefulPreviewSeekMode mode)Moves preview state to the requested time using the selected seek preference.
Parameters
| Name | Type |
|---|---|
time |
System.Double |
mode |
TextStudio.TextStudioStatefulPreviewSeekMode |
Returns
System.Boolean
Properties
Section titled “Properties”
IsAvailable
Section titled “IsAvailable”bool IsAvailable { get; }Returns
System.Boolean
SupportsRandomAccess
Section titled “SupportsRandomAccess”bool SupportsRandomAccess { get; }Returns
System.Boolean
Fidelity
Section titled “Fidelity”TextStudioStatefulPreviewFidelity Fidelity { get; }Returns
TextStudio.TextStudioStatefulPreviewFidelity
CurrentTime
Section titled “CurrentTime”double CurrentTime { get; }Returns
System.Double