Class InputStateHistory<TValue>
Records value changes of a given control over time.
Inheritance
InputStateHistory<TValue>
Syntax
public class InputStateHistory<TValue> : InputStateHistory, IDisposable, IEnumerable<InputStateHistory.Record>, IInputStateChangeMonitor, IReadOnlyList<InputStateHistory<TValue>.Record>, IReadOnlyCollection<InputStateHistory<TValue>.Record>, IEnumerable<InputStateHistory<TValue>.Record>, IEnumerable where TValue : struct
Type Parameters
Constructors
InputStateHistory(Nullable<Int32>)
Declaration
public InputStateHistory(int? maxStateSizeInBytes = null)
Parameters
InputStateHistory(String)
Declaration
public InputStateHistory(string path)
Parameters
Type |
Name |
Description |
String |
path |
|
InputStateHistory(InputControl<TValue>)
Declaration
public InputStateHistory(InputControl<TValue> control)
Parameters
Properties
Item[Int32]
Declaration
public InputStateHistory<TValue>.Record this[int index] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Property Value
Implements
Methods
AddRecord(InputStateHistory<TValue>.Record)
Declaration
public InputStateHistory<TValue>.Record AddRecord(InputStateHistory<TValue>.Record record)
Parameters
Returns
Finalize()
Declaration
protected void Finalize()
GetEnumerator()
Declaration
public IEnumerator<InputStateHistory<TValue>.Record> GetEnumerator()
Returns
Implements
RecordStateChange(InputControl<TValue>, TValue, Double)
Declaration
public InputStateHistory<TValue>.Record RecordStateChange(InputControl<TValue> control, TValue value, double time = -1)
Parameters
Returns
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Implements