Created a page for the Base Value node. |
Updated description and linked to new quantity types page. "QuantityX" doesn't exist in Resonite. |
||
Line 12: | Line 12: | ||
|}} | |}} | ||
The '''Base Value''' node takes in a | The '''Base Value''' node takes in a [[Quantity Types|quantity type]] value and returns the corresponding base value as a [[Type:double|double]]. | ||
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 == | ||
=== Value ( | === Value ([[Quantity Types|Quantity]]) === | ||
The | The quantity value. | ||
== Outputs == | == Outputs == | ||
Line 26: | Line 26: | ||
=== * ([[Type:double|double]]) === | === * ([[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) | ||
[[Category:ProtoFlux:Math:Quantity]] | [[Category:ProtoFlux:Math:Quantity]] |
Revision as of 14:26, 8 September 2024
Base Value <Type>
Quantity
The Base Value node takes in a quantity type value and returns the corresponding base value as a double.
To create this node, you need to specify a valid quantity type for its generic parameter. Examples: Mass
, Time
, and Voltage
.
Inputs
Value (Quantity)
The quantity value.
Outputs
* (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)