Trees | Index | Help |
|
---|
Package spyre :: Module spyre :: Class FrustumCam |
|
object
--+ |OrthoCam
--+ | FrustumCam
BasicCameraFrustum
,
MobileCameraFrustum
,
RovingCameraFrustum
,
RovingCameraFrustumY
,
SubordinateEyeCamFrustum
,
SubordinateEyeCamFrustumRB
A FrustumCam is a mixin that provides for frustum (perspective) mode in descendant cameras.
Each camera installed in an engine must inherit from either FrustumCam or OrthoCam.Method Summary | |
---|---|
Sets frustum shape members. | |
Alternate way to specify frustum. | |
Pushes frustum params/settings through to OpenGL | |
Inherited from OrthoCam | |
Sets frustum shape members. | |
Sets frustum shape members. | |
Sets eye and center position in 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 |
---|
frustum(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. |
perspective(self, fovy, aspect, near, far)Alternate way to specify frustum.
|
viewProj(self)Pushes frustum 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 |