Bases: collada.camera.Camera
Orthographic camera as defined in COLLADA tag <orthographic>.
Create a new orthographic camera.
Note: aspect_ratio = xmag / ymag
Any other combination will raise collada.DaeMalformedError
Parameters: |
|
---|
Methods
__init__(id, znear, zfar[, xmag, ymag, ...]) | Create a new orthographic camera. |
bind(matrix) | Create a bound camera of itself based on a transform matrix. |
load(collada, localscope, node) | |
save() | Saves the orthographic camera’s properties back to xmlnode |
Identifier for the camera
Horizontal magnification of the view
Vertical magnification of the view
Aspect ratio of the field of view
Distance to the near clipping plane
Distance to the far clipping plane
ElementTree representation of the data.
Saves the orthographic camera’s properties back to xmlnode
Create a bound camera of itself based on a transform matrix.
Parameters: | matrix (numpy.array) – A numpy transformation matrix of size 4x4 |
---|---|
Return type: | collada.camera.BoundOrthographicCamera |