/ . / _chimera / Camera
Camera(sWidth: float, vDist: float, eyeSep: float, llx: int, lly: int, urx: int, ury: int) -> Camera
constants:
- DividedScreen = 1
- DividedWindow = 2
- Window = 0
attributes:
- autoFocus: bool
- center: tuple of float
- extent: float
- eyeSeparation: float
- focal: float
- hardwareMode: int
- nearFar: (float,float)
- ortho: bool
- screenWidth: float
- viewDistance: float
- walleyeScale: float
Methods
|
|
|
lly
|
lly ( self )
lly() -> int
|
|
llx
|
llx ( self )
llx() -> int
|
|
modes
|
modes (
self,
printOnly,
all,
)
modes(printOnly: bool = false, all: bool = false) -> list of str
|
|
atPos
|
atPos ( self, v )
atPos(v: int) -> tuple of float
|
|
viewXform
|
viewXform ( self, v )
viewXform(v: int) -> Xform
|
|
projMatrix
|
projMatrix ( self, v )
projMatrix(v: int) -> tuple of float
|
|
printOnly
|
printOnly ( self )
printOnly() -> bool
|
|
printViews
|
printViews ( self )
printViews() -> list of tuple(int, int)
|
|
hasMode
|
hasMode ( self, mode )
hasMode(mode: str) -> bool
|
|
ury
|
ury ( self )
ury() -> int
|
|
window
|
window ( self, v )
window(v: int) -> tuple of float
|
|
lastView
|
lastView ( self )
lastView() -> int
|
|
eyePos
|
eyePos ( self, v )
eyePos(v: int) -> tuple of float
|
|
setMode
|
setMode (
self,
type,
viewer,
)
setMode(type: str, viewer: Viewer = None) -> bool
|
|
numViews
|
numViews ( self )
numViews() -> int
|
|
urx
|
urx ( self )
urx() -> int
|
|
setViewport
|
setViewport (
self,
llx,
lly,
width,
height,
)
setViewport(llx: int, lly: int, width: int, height: int)
|
|
viewport
|
viewport ( self, v )
viewport(v: int) -> tuple of int
|
|
mode
|
mode ( self )
mode() -> str
|
|
|