Class Multiply<T>
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitOrder(103)]
public abstract class Multiply<T> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
a
The first value.
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
b
The second value.
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
defaultB
Declaration
[DoNotSerialize]
protected virtual T defaultB { get; }
Property Value
| Type | Description |
|---|---|
| T |
product
The product of A and B.
Declaration
[DoNotSerialize]
[PortLabel("A × B")]
public ValueOutput product { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Operation(T, T)
Declaration
public abstract T Operation(T a, T b)
Parameters
| Type | Name | Description |
|---|---|---|
| T | a | |
| T | b |
Returns
| Type | Description |
|---|---|
| T |