#NEWLINE# def __init__( self , plight , matrix ) : #NEWLINE# #INDENT# self . position = ( numpy . dot ( matrix [ : 3 , : 3 ] , plight . position ) + matrix [ : 3 , 3 ] ) #NEWLINE# 'Numpy array of length 3 representing the position of the light in the scene' #NEWLINE# self . color = plight . color #NEWLINE# 'Either a tuple of size 3 containing the RGB color value\n          of the light or a tuple of size 4 containing the RGBA\n          color value of the light' #NEWLINE# self . constant_att = plight . constant_att #NEWLINE# if ( self . constant_att is None ) : #NEWLINE# #INDENT# self . constant_att = 1.0 #NEWLINE# #UNINDENT# 'Constant attenuation factor.' #NEWLINE# self . linear_att = plight . linear_att #NEWLINE# if ( self . linear_att is None ) : #NEWLINE# #INDENT# self . linear_att = 0.0 #NEWLINE# #UNINDENT# 'Linear attenuation factor.' #NEWLINE# self . quad_att = self . quad_att #NEWLINE# if ( self . quad_att is None ) : #NEWLINE# #INDENT# self . quad_att = 0.0 #NEWLINE# #UNINDENT# 'Quadratic attenuation factor.' #NEWLINE# self . zfar = plight . zfar #NEWLINE# 'Distance to the far clipping plane' #NEWLINE# self . original = plight #NEWLINE# 'The original :class:`collada.light.PointLight` this is bound to'