Generates a random value within a range of the specified mean value.
This node can generate many value types. For some types, the there can be several ways to generate such values. Here is how the generation of values of special types is handled:
2D, 3D and 4D vectors: generates random scalars for each of the components of the vector (X, Y, ...). This generates a square distribution range.
Rotation, quaternion and 3x3 matrix: generates random values that represent random rotations evenly distributed on a sphere.
4x4 matrix: generates a matrix that represents a random rotation evenly distributed on a sphere, a random scaling, and a random translation.
Boolean: generates a random Boolean (true or false) similar to a flip of a coin. The mean and variance have no effect on this type.
Color: generates a color with random red, green and blue channels. The alpha channel is not randomized and is equal to the alpha value of the mean color.
The generation of random values for some of these types is arbitrary. You can define other methods of generating random values by combining these results. For example, you can generate a random 3D vector by rotating a unit vector with a random rotation.