Created a page for the From Base Value node. |
Updated description and linked to new quantity types page. "QuantityX" doesn't exist in Resonite. |
||
Line 12: | Line 12: | ||
|}} | |}} | ||
The '''From Base Value''' node takes in a [[Type:double|double]] | The '''From Base Value''' node takes in a base value as a [[Type:double|double]] and returns the corresponding quantity as a [[Quantity Types|quantity type]]. | ||
To create | To create this node, you need to specify a valid [[Quantity Types|quantity type]] for its generic parameter. Examples: <code>Mass</code>, <code>Time</code>, and <code>Voltage</code>. | ||
== Inputs == | == Inputs == | ||
Line 20: | Line 20: | ||
=== BaseValue ([[Type:double|double]]) === | === BaseValue ([[Type:double|double]]) === | ||
The base | The base value of the quantity, in the quantity type's base unit. (See [[Quantity Types#Quantity Types|Quantity Types]] for a list of all quantity types and their corresponding base units) | ||
== Outputs == | == Outputs == | ||
=== * ( | === * ([[Quantity Types|Quantity]]) === | ||
The | The quantity value. | ||
[[Category:ProtoFlux:Math:Quantity]] | [[Category:ProtoFlux:Math:Quantity]] |
Latest revision as of 14:33, 8 September 2024
From Base Value <Type>
Quantity
The From Base Value node takes in a base value as a double and returns the corresponding quantity as a quantity type.
To create this node, you need to specify a valid quantity type for its generic parameter. Examples: Mass
, Time
, and Voltage
.
Inputs
BaseValue (double)
The base value of the quantity, in the quantity type's base unit. (See Quantity Types for a list of all quantity types and their corresponding base units)
Outputs
* (Quantity)
The quantity value.