# Difference between revisions of "Multiply Scalar"

Line 1: | Line 1: | ||

− | |||

− | |||

− | |||

[[Image:drex_module_75_image_0.png|485pxpx|Multiply Scalar]] | [[Image:drex_module_75_image_0.png|485pxpx|Multiply Scalar]] | ||

'''Node Description & Purpose: '''<br /> The Multiply family of nodes allow you to multiply the colour/scalar/vector coming into the Input by the color/scalar/vector coming into Input 2. The multiplication is component-wise, for example with a colour :<br /><br /> Input.red '''multiplied by''' Input 2.red<br /> Input.green '''multiplied by''' Input 2.green<br /> Input.blue '''multiplied by''' Input 2.blue<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> All nodes in this family have just the one setting, which lets you choose a node for Input 2. | '''Node Description & Purpose: '''<br /> The Multiply family of nodes allow you to multiply the colour/scalar/vector coming into the Input by the color/scalar/vector coming into Input 2. The multiplication is component-wise, for example with a colour :<br /><br /> Input.red '''multiplied by''' Input 2.red<br /> Input.green '''multiplied by''' Input 2.green<br /> Input.blue '''multiplied by''' Input 2.blue<br /><br />'''Node Type: ''' Function<br /><br />'''Settings: '''<br /> All nodes in this family have just the one setting, which lets you choose a node for Input 2. | ||

− | |||

<!-- imported from file: module_75.html--> | <!-- imported from file: module_75.html--> | ||

+ | |||

+ | [[Category:Multiply| ]] |

## Revision as of 01:30, 18 May 2011

**Node Description & Purpose: **

The Multiply family of nodes allow you to multiply the colour/scalar/vector coming into the Input by the color/scalar/vector coming into Input 2. The multiplication is component-wise, for example with a colour :

Input.red **multiplied by** Input 2.red

Input.green **multiplied by** Input 2.green

Input.blue **multiplied by** Input 2.blue**Node Type: ** Function**Settings: **

All nodes in this family have just the one setting, which lets you choose a node for Input 2.

A scalar is a single number. 1, 200.45, -45, -0.2 are all examples of scalar values.

A vector is a set of three scalars, normally representing X, Y and Z coordinates. It also commonly represents rotation, where the values are pitch, heading and bank.