Module vrOSGTypes :: Class Color3f
[frames] | no frames]

Class Color3f

 object --+    
          |    
??.instance --+
              |
             Color3f

Instance Methods
 
__init__(r, g, b)
The constructor of the Color3f class.
 
__reduce__()
 
__str__()
float
blue()
Returns the blue component.
float
green()
Returns the green component.
float
red()
Returns the red component.

Inherited from unreachable.instance: __new__

Class Variables
  __instance_size__ = 40
Method Details

__init__(r, g, b)
(Constructor)

 

The constructor of the Color3f class.

Parameters:
  • r (float) - The red component.
  • g (float) - The green component.
  • b (float) - The blue component.
Overrides: object.__init__

__reduce__()

 
Overrides: object.__reduce__
(inherited documentation)

__str__()
(Informal representation operator)

 
Overrides: object.__str__
(inherited documentation)

blue()

 

Returns the blue component.

Returns: float
The blue component.

green()

 

Returns the green component.

Returns: float
The green component.

red()

 

Returns the red component.

Returns: float
The red component.