(self)
return dic
Return the dict representation of the visual.
Return the dict representation of the visual.
Return the dict representation of the visual .
def get_dic(self):
        """Return the dict representation of the visual."""
        dic = {
            'size': self.size,
            'bounds': self.bounds,
            'visible': self.visible,
            'is_static': self.is_static,
            'options': self.options,
            'primitive_type': self.primitive_type,
            'constrain_ratio': self.constrain_ratio,
            'constrain_navigation': self.constrain_navigation,
            'framebuffer': self.framebuffer,
            # 'beforeclear': self.beforeclear,
            'variables': self.get_variables_list(),
            'vertex_shader': self.vertex_shader,
            'fragment_shader': self.fragment_shader,
        }
        return dic
def get_dic ( self ) : dic = { 'size' : self . size , 'bounds' : self . bounds , 'visible' : self . visible , 'is_static' : self . is_static , 'options' : self . options , 'primitive_type' : self . primitive_type , 'constrain_ratio' : self . constrain_ratio , 'constrain_navigation' : self . constrain_navigation , 'framebuffer' : self . framebuffer , # 'beforeclear': self.beforeclear, 'variables' : self . get_variables_list ( ) , 'vertex_shader' : self . vertex_shader , 'fragment_shader' : self . fragment_shader , } return dic