Class ScalarExponentiate
Returns the power of a base and exponent.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Math/Scalar")]
[UnitDisplay("Exponentiate")]
[Obsolete("Use Mathf.Pow instead")]
public sealed class ScalarExponentiate : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
base
The base.
Declaration
[DoNotSerialize]
[UnitPortDisplay("x")]
public ValueInput base { get; }
Property Value
Type | Description |
---|---|
ValueInput |
exponent
The exponent.
Declaration
[DoNotSerialize]
[UnitPortDisplay("n")]
public ValueInput exponent { get; }
Property Value
Type | Description |
---|---|
ValueInput |
power
The power of base elevated to exponent.
Declaration
[DoNotSerialize]
[UnitPortDisplay("xⁿ")]
public ValueOutput power { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.Unit<Ludiq.Bolt.FlowGraph>.Definition()
Exponentiate(Flow)
Declaration
public float Exponentiate(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
Single |