Squeak Class Documentation category index | class index  
 
B3DColor4
  category: Balloon3D-Vectors
  superclass: B3DFloatArray
  subclasses:

I represent an RGBA color value in floating point format. I am used during the lighting and shading computations.

instance methods
  accessing
  alpha
alpha:
blue
blue:
green
green:
red
red:

  converting
  asB3DColor
asColor
pixelValue32

  initialize
  r:g:b:a:

  interpolating
  interpolateTo:at:

  private
  privateLoadFrom:

  testing
  isZero

class methods
  instance creation
  numElements
r:g:b:a:
red:green:blue:alpha:

instance methods
  accessing top  
 

alpha


 

alpha:


 

blue


 

blue:


 

green


 

green:


 

red


 

red:


  converting top  
 

asB3DColor


 

asColor


 

pixelValue32


  initialize top  
 

r:g:b:a:


  interpolating top  
 

interpolateTo:at:

Return the color vector yielded by interpolating from the state of the object to the specified end state at the specified amount done


  private top  
 

privateLoadFrom:

Load the receiver from the given source object.


  testing top  
 

isZero


class methods
  instance creation top  
 

numElements


 

r:g:b:a:


 

red:green:blue:alpha:

Create an initialize a color vector.