Class Average<T>
Inheritance
object
Average<T>
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitOrderAttribute]
public abstract class Average<T> : MultiInputUnit<T>, IMultiInputUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
average
The average.
Declaration
[DoNotSerializeAttribute]
public ValueOutput average { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Operation(IEnumerable<T>)
Declaration
public abstract T Operation(IEnumerable<T> values)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | values |
Returns
| Type | Description |
|---|---|
| T |
Operation(Flow)
Declaration
public T Operation(Flow flow)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow |
Returns
| Type | Description |
|---|---|
| T |
Operation(T, T)
Declaration
public abstract T Operation(T a, T b)
Parameters
| Type | Name | Description |
|---|---|---|
| T | a | |
| T | b |
Returns
| Type | Description |
|---|---|
| T |
Implements
IDisposable