TextStudioReactionActionSample
public readonly struct TextStudioReactionActionSampleEvents and event time produced by one action sample, including whether its target was lost.
Fields
Section titled “Fields”
Events
Section titled “Events”public readonly TextStudioReactionActionEvents EventsReturns
TextStudio.TextStudioReactionActionEvents
EventTime
Section titled “EventTime”public readonly double EventTimeReturns
System.Double
TargetLost
Section titled “TargetLost”public readonly bool TargetLostReturns
System.Boolean
Constructors
Section titled “Constructors”
TextStudioReactionActionSample(TextStudioReactionActionEvents, double)
Section titled “TextStudioReactionActionSample(TextStudioReactionActionEvents, double)”public TextStudioReactionActionSample(TextStudioReactionActionEvents events, double eventTime)Creates an action sample with emitted events and their host event time, without reporting target loss.
Parameters
| Name | Type |
|---|---|
events |
TextStudio.TextStudioReactionActionEvents |
eventTime |
System.Double |
Methods
Section titled “Methods”
LostTarget(double)
Section titled “LostTarget(double)”public static TextStudioReactionActionSample LostTarget(double eventTime)Creates an event-free action sample indicating that its target was lost at the supplied time.
Parameters
| Name | Type |
|---|---|
eventTime |
System.Double |
Returns
TextStudio.TextStudioReactionActionSample