Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

Blender.Camera module functions


Functions

PyObject * M_Camera_New (PyObject *self, PyObject *args, PyObject *kwords)
 Python module function: Blender.Camera.New(). More...

PyObject * M_Camera_Get (PyObject *self, PyObject *args)
 Python module function: Blender.Camera.Get(). More...


Function Documentation

PyObject* M_Camera_Get PyObject *    self,
PyObject *    args
[static]
 

Python module function: Blender.Camera.Get().

This is the .Get() function of the Blender.Camera submodule. It searches the list of current Camera Data objects and returns a Python wrapper for the one with the name provided by the user. If called with no arguments, it returns a list of all current Camera Data object names in Blender.

Parameters:
<name>  - string: The name of an existing Blender Camera Data object.
Returns:
() - A list with the names of all current Camera Data objects;
(name) - A Python wrapper for the Camera Data called 'name' in Blender.

Definition at line 126 of file Camera-doxy.c.

PyObject* M_Camera_New PyObject *    self,
PyObject *    args,
PyObject *    kwords
[static]
 

Python module function: Blender.Camera.New().

This is the .New() function of the Blender.Camera submodule. It creates new Camera Data in Blender and returns its Python wrapper object. The parameters are optional and default to type = 'persp' and name = 'CamData'.

Parameters:
<type>  - string: The Camera type: 'persp' or 'ortho';
<name>  - string: The Camera Data name.
Returns:
A new Camera PyObject.

Definition at line 64 of file Camera-doxy.c.


Generated on Mon Jun 2 16:32:09 2003 for Blender by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001