Trees | Index | Help |
|
---|
Package spyre :: Module spyre :: Class OrthoCam |
|
object
--+
|
OrthoCam
BasicCameraOrtho
,
FrustumCam
,
MobileCameraOrtho
,
PrecessingCameraOrtho
,
RovingCameraOrtho
,
RovingCameraOrthoY
,
SubordinateEyeCamOrtho
,
SubordinateEyeCamOrthoRB
An OrthoCam is a mixin that provides for ortho mode in descendant cameras.
Each camera installed in an engine must inherit from either FrustumCam or OrthoCam.Method Summary | |
---|---|
Sets frustum shape members. | |
Sets frustum shape members. | |
Sets eye and center position in OpenGL | |
Pushes ortho params/settings through to OpenGL | |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
ortho(self, left, right, bottom, top, near=None, far=None)Sets frustum shape members. (left, top, near) and (right, bottom, near) map to the diametrical opposite corners of the viewport, in x,y,z coords, modelview space. near and far params are optional, and if ommitted, prior attribute values remain. all params are floats. |
shape(self, left, right, bottom, top, near=None, far=None)Sets frustum shape members. (left, top, near) and (right, bottom, near) map to the diametrical opposite corners of the viewport, in x,y,z coords, modelview space. near and far params are optional, and if ommitted, prior attribute values remain. all params are floats. |
viewMV(self)Sets eye and center position in OpenGL |
viewProj(self)Pushes ortho params/settings through to OpenGL |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Jan 07 17:58:16 2006 | http://epydoc.sf.net |