Table of Contents

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

int

this[int]

The input action at index i (actions are ordered by time).

public ScriptAction this[int i] { get; }

Parameters

i int

Property Value

ScriptAction

Methods

GetEnumerator()

Enumerates the input actions in time order.

public IEnumerator<ScriptAction> GetEnumerator()

Returns

IEnumerator<ScriptAction>