Class Absolute<TInput>
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[Obsolete("Use Mathf.Abs instead.")]
public abstract class Absolute<TInput> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Type Parameters
| Name | Description |
|---|---|
| TInput |
Properties
input
The value to make positive.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true)]
public ValueInput input { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
output
The positive value.
Declaration
[DoNotSerialize]
[UnitPortDisplay(primary = true)]
public ValueOutput output { get; }
Property Value
| Type | Description |
|---|---|
| ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Operation(TInput)
Declaration
protected abstract TInput Operation(TInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| TInput | input |
Returns
| Type | Description |
|---|---|
| TInput |
Operation(Flow)
Declaration
public TInput Operation(Flow flow)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow |
Returns
| Type | Description |
|---|---|
| TInput |