#NEWLINE# @ reference_frame . setter #NEWLINE# def reference_frame( self , new_reference_frame ) : #NEWLINE# #INDENT# 'Sets the base reference frame for the scene.' #NEWLINE# if ( not isinstance ( new_reference_frame , ReferenceFrame ) ) : #NEWLINE# #INDENT# raise TypeError ( "'reference_frame' should be a valid ReferenceFrame object." ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _reference_frame = self