Table of Contents

Module: Camera ./Camera.py

The Blender Camera module

This module provides access to Camera objects in Blender

Example:

  from Blender import Camera, Object, Scene
  c = Camera.New('ortho')      # create new ortho camera data
  c.lens = 35.0                # set lens value
  cur = Scene.getCurrent()     # get current Scene
  ob = Object.New('Camera')    # make camera object
  ob.link(c)                   # link camera data with this object
  cur.link(ob)                 # link object into scene
  cur.setCurrentCamera(ob)     # make this camera the active


Functions   
New
get
  New 
New ( type='persp' )

Creates new camera Object and returns it. type, if specified, must be one of Types

  get 
get ( name=None )

Returns the Camera with name name, if given. Otherwise, a list of all Cameras is returned

Classes   
Camera

Wrapper for Camera DataBlock


Table of Contents

This document was automatically generated on Mon Feb 25 13:52:14 2002 by HappyDoc version r1_5