Version 1.2 (June 2013)
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
povray.Background Class Reference

Specifies the background that will be used in the POV-Ray images. More...

Inheritance diagram for povray.Background:

Public Member Functions

 Background ()
 Constructor to set the colour as a new RGB vector property. More...
 
void setColor (float r, float g, float b)
 Sets the value of this vector property to reflect a colour, specified in red, green, and blue values. More...
 
String toString ()
 Return the vector property as a string denoting what colour the vector represents. More...
 

Detailed Description

Specifies the background that will be used in the POV-Ray images.

Specifies the background that will be used in the POV-Ray images

Author
João Xavier (xavie.nosp@m.rj@m.nosp@m.skcc..nosp@m.org), Memorial Sloan-Kettering Cancer Center (NY, USA)
Laurent Lardon (lardo.nosp@m.nl@s.nosp@m.upagr.nosp@m.o.in.nosp@m.ra.fr), INRA, France

Constructor & Destructor Documentation

povray.Background.Background ( )

Constructor to set the colour as a new RGB vector property.

Constructor to set the colour as a new RGB vector property

Member Function Documentation

void povray.Background.setColor ( float  r,
float  g,
float  b 
)

Sets the value of this vector property to reflect a colour, specified in red, green, and blue values.

Sets the value of this vector property to reflect a colour, specified in red, green, and blue values

Parameters
rThe amount of red in the colour required
gThe amount of green in the colour required
bThe amount of blue in the colour required
String povray.Background.toString ( )

Return the vector property as a string denoting what colour the vector represents.

Return the vector property as a string denoting what colour the vector represents

Returns
String value denoting what colour the vector represents

The documentation for this class was generated from the following file: