ProtoFlux:Mul: Difference between revisions

From Resonite Wiki
make Multiply ProtoFlux Node Page
 
Added the See Also section for this node.
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#Invoke:ProtoFlux|GenerateUI
{{#Invoke:ProtoFlux|GenerateUI
|Name=X
|Name=×
|Category=Operators
|Category=Operators
|Inputs=
|Inputs=
Line 13: Line 13:
|}}
|}}


Multiply or Mul is a node that allows you to perform various multiplications on a regular calculator or more complex ones like [[Types:FloatQ|Quaternion multiplication]] or vector multiplication.
Multiply or Mul is a node that allows you to perform multiplication between values (both of same and different types), including complex values like [[Types:FloatQ|Quaternions]] or vectors.


== Inputs ==
== Inputs ==


=== A (Sudo-Generic) ===
=== A (Pseudo-generic) ===


A numeric value to multiply with B.
A numeric value to multiply with B.


=== B (Sudo-Generic) ===
=== B (Pseudo-generic) ===


A numeric value to multiply with A.
A numeric value to multiply with A.
Line 27: Line 27:
== Outputs ==
== Outputs ==


=== * (Sudo-Generic) ===
=== * (Pseudo-generic) ===


The Multiplication of A (Sudo-Generic) and B (Sudo-Generic).
The Multiplication of A (Pseudo-generic) and B (Pseudo-generic).


== Examples ==
== Examples ==


<gallery widths=480px heights=480px>
<gallery widths=480px heights=480px>
File:ProtoFlux_example_quaternion_vector_rotation.webp|An example of how to multiply a vector by a [[Types:FloatQ|Quaternion]] to rotate it.
File:FloatQ_Rotation_Example.png|An example of how to multiply a vector by a [[Types:FloatQ|Quaternion]] to rotate it.
</gallery>
</gallery>
== See Also ==
* Wikipedia's definition of [https://en.wikipedia.org/wiki/Multiplication multiplication].
* Microsoft's documentation on the [https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/operators/arithmetic-operators multiplication] operator.
[[Category:ProtoFlux:Operators]]

Latest revision as of 06:33, 27 June 2024

×
A
*
B
Operators

Multiply or Mul is a node that allows you to perform multiplication between values (both of same and different types), including complex values like Quaternions or vectors.

Inputs

A (Pseudo-generic)

A numeric value to multiply with B.

B (Pseudo-generic)

A numeric value to multiply with A.

Outputs

* (Pseudo-generic)

The Multiplication of A (Pseudo-generic) and B (Pseudo-generic).

Examples

See Also