Struct DiscreteReader
- Namespace
- Ofs
- Assembly
- Ofs.Api.dll
Read-only view of a discrete node input.
public readonly struct DiscreteReader : IReadOnlyList<ScriptAction>, IReadOnlyCollection<ScriptAction>, IEnumerable<ScriptAction>, IEnumerable
- Implements
Properties
Count
Number of input actions.
public int Count { get; }
Property Value
this[int]
The input action at index i (actions are ordered by time).
public ScriptAction this[int i] { get; }
Parameters
iint
Property Value
Methods
GetEnumerator()
Enumerates the input actions in time order.
public IEnumerator<ScriptAction> GetEnumerator()