Difference between revisions of "Add Scalar"
(jrfconvert import) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | [[ | + | [[Image:drex_module_42_image_0.png|485pxpx|Add Scalar]] |
− | + | ||
+ | '''Node Description & Purpose:''' | ||
+ | The Add family of nodes allow you to add the colour/scalar/vector coming into the Input by the color/scalar/vector coming into Input 2. The addition is component-wise, for example with a colour : | ||
+ | |||
+ | Input.red + Input 2.red | ||
+ | |||
+ | Input.green + Input 2.green | ||
+ | |||
+ | Input.blue + 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. | ||
− | [[ | + | [[Category: Add]] |
− | |||
− |
Revision as of 18:26, 1 June 2011
Node Description & Purpose: The Add family of nodes allow you to add the colour/scalar/vector coming into the Input by the color/scalar/vector coming into Input 2. The addition is component-wise, for example with a colour :
Input.red + Input 2.red
Input.green + Input 2.green
Input.blue + 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.