Class used by the majority of POV-Ray scripts to represent coordinates and colours as vector properties for use in POV-Ray. More...
Public Member Functions | |
VectorProperty (String name) | |
Constructor to create the object and give it a specific name. More... | |
void | setValues (double x, double y, double z) |
Set the values of this vector property, storing the values provided into the array. More... | |
void | setValues (double x, double y, double z, double w) |
Set the values of this vector property for a object of 4 values, storing the values provided into the array. More... | |
String | toString () |
Summarise this vector object as a string. More... | |
Class used by the majority of POV-Ray scripts to represent coordinates and colours as vector properties for use in POV-Ray.
Class used by the majority of POV-Ray scripts to represent coordinates and colours as vector properties for use in POV-Ray
povray.VectorProperty.VectorProperty | ( | String | name | ) |
Constructor to create the object and give it a specific name.
Constructor to create the object and give it a specific name
name | Name to be assigned to this vector property object |
void povray.VectorProperty.setValues | ( | double | x, |
double | y, | ||
double | z | ||
) |
Set the values of this vector property, storing the values provided into the array.
Set the values of this vector property, storing the values provided into the array
x | Either an X coordinate or an amount of red in a colour |
y | Either an Y coordinate or an amount of green in a colour |
z | Either an Z coordinate or an amount of blue in a colour |
void povray.VectorProperty.setValues | ( | double | x, |
double | y, | ||
double | z, | ||
double | w | ||
) |
Set the values of this vector property for a object of 4 values, storing the values provided into the array.
Set the values of this vector property for a object of 4 values, storing the values provided into the array
x | Value of this vector object |
y | Value of this vector object |
z | Value of this vector object |
w | Value of this vector object |
String povray.VectorProperty.toString | ( | ) |
Summarise this vector object as a string.
Summarise this vector object as a string