Sets all three element of the vector.

Can be used for XYZ type vector as well as for colour type vectors. Note that x and red, y and green, z and blue, can all be used interchangeably. To set all three elements in one go use the Set command. You can also set the colors as an RGB long value using the RGB property of the vector.

Syntax:

void set(float x , float y, float z)
Parameters:
x, y, z

The respective coordinate values of the vector. For colour values the parameter must be in the range 0 to 1.

See also:

Class vector |

 

©2000 arcticpigs. All rights reserved.
This is a draft version! The functionality of parts of the software are liable to change.