Package fife :: Module fife :: Class Camera
[hide private]
[frames] | no frames]

Class Camera

source code

       _object --+    
                 |    
IRendererContainer --+
                     |
                    Camera

Proxy of C++ FIFE::Camera class

Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code
 
__repr__(self) source code
string
getId(self) source code
 
setId(self, *args)
setId(self, string id)
source code
 
setTilt(self, *args)
setTilt(self, double tilt)
source code
double
getTilt(self) source code
 
setRotation(self, *args)
setRotation(self, double rotation)
source code
double
getRotation(self) source code
 
setZoom(self, *args)
setZoom(self, double zoom)
source code
double
getZoom(self) source code
 
setLocation(self, *args)
setLocation(self, Location location)
source code
Location
getLocation(self) source code
Location
getLocationRef(self) source code
 
attach(self, *args)
attach(self, Instance instance)
source code
 
detach(self) source code
Instance
getAttached(self) source code
 
setViewPort(self, *args)
setViewPort(self, Rect viewport)
source code
Rect
getViewPort(self) source code
 
setCellImageDimensions(self, *args)
setCellImageDimensions(self, unsigned int width, unsigned int height)
source code
Point
getCellImageDimensions(self) source code
 
toScreenCoordinates(self, *args)
toScreenCoordinates(self, ExactModelCoordinate map_coords) -> ScreenPoint
source code
 
toMapCoordinates(self, *args)
toMapCoordinates(self, ScreenPoint screen_coords, bool z_calculated = True) -> ExactModelCoordinate toMapCoordinates(self, ScreenPoint screen_coords) -> ExactModelCoordinate
source code
 
setEnabled(self, *args)
setEnabled(self, bool enabled)
source code
bool
isEnabled(self) source code
 
getMatchingInstances(self, *args)
getMatchingInstances(self, ScreenPoint screen_coords, Layer layer) getMatchingInstances(self, Rect screen_rect, Layer layer) getMatchingInstances(self, Location loc, bool use_exactcoordinates = False) getMatchingInstances(self, Location loc)
source code
 
getRenderer(self, *args)
getRenderer(self, string name) -> RendererBase
source code
 
resetRenderers(self) source code
 
setLightingColor(self, *args)
setLightingColor(self, float red, float green, float blue, float alpha)
source code
 
resetLightingColor(self) source code
FloatVector
getLightingColor(self) source code
 
refresh(self) source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _fife.delete_Camera
  __del__ = lambda self:
Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Overrides: IRendererContainer.__init__

__repr__(self)
(Representation operator)

source code 
Overrides: _swig_repr

getRenderer(self, *args)

source code 

getRenderer(self, string name) -> RendererBase

Overrides: IRendererContainer.getRenderer