packages/pyglGA/ECSS/System.py
def apply2Camera(self, cam: pyglGA.ECSS.Component.Camera):
        """
        method to be subclassed for  behavioral or logic computation 
        when visits Camera Components. 
        
        In this case ths sole purpose is to calculate the 
        the r2c (root to camera) matrix
        
        """
        if (isinstance(cam,pyglGA.ECSS.Component.Camera)) == False:
            return #in Python due to duck typing we need to verify this!
        print(self.getClassName(), ": apply2Camera called from CameraSystem - Calc: Root2Cam")
        
        # getRoot2Cam returns the one component of the Local2Cam = Local2World * Root2Cam
        r2cam = self.getRoot2Camera(cam)
        #update root2cam of Camera
        cam.update(root2cam=r2cam)
        #save camera component if not specified on constructor
        self._camera = cam

        method to be subclassed for  behavioral or logic computation 
        when visits Camera Components. 
        
        In this case ths sole purpose is to calculate the 
        the r2c (root to camera) matrix
        
        
method to be subclassed for  behavioral or logic computation
when visits Camera Components.

In this case ths sole purpose is to calculate the
the r2c (root to camera) matrix
method to be subclassed for behavioral or logic computation when visits Camera Components . In this case ths sole purpose is to calculate the the r2c ( root to camera ) matrix
def apply2Camera(self, cam: pyglGA.ECSS.Component.Camera):
        if (isinstance(cam,pyglGA.ECSS.Component.Camera)) == False:
            return 
        print(self.getClassName(), ": apply2Camera called from CameraSystem - Calc: Root2Cam")
        r2cam = self.getRoot2Camera(cam)
        cam.update(root2cam=r2cam)
        self._camera = cam
def apply2Camera ( self , cam : pyglGA . ECSS . Component . Camera ) : if ( isinstance ( cam , pyglGA . ECSS . Component . Camera ) ) == False : return print ( self . getClassName ( ) , ": apply2Camera called from CameraSystem - Calc: Root2Cam" ) r2cam = self . getRoot2Camera ( cam ) cam . update ( root2cam = r2cam ) self . _camera = cam
method to be subclassed for  behavioral or logic computation
when visits Camera Components.
method to be subclassed for behavioral or logic computation when visits Camera Components .
"""
        method to be subclassed for  behavioral or logic computation 
        when visits Camera Components. 
        
        In this case ths sole purpose is to calculate the 
        the r2c (root to camera) matrix
        
        """ #in Python due to duck typing we need to verify this! # getRoot2Cam returns the one component of the Local2Cam = Local2World * Root2Cam #update root2cam of Camera #save camera component if not specified on constructor
self
cam
pyglGA.ECSS.Component.Camera