Table of Contents

Class: Scene ./Scene.py

Wrapper for Scene DataBlock

Base Classes   
shadow.shadowEx
Methods   
copy
currentFrame
endFrame
frameSettings
getBackbufdir
getChildren
getCurrentCamera
getRenderdir
link
makeCurrent
setCurrentCamera
startFrame
unlink
update
  copy 
copy ( self,  duplicate_objects=1 )

Returns a copy of itself.

The optional argument defines, how the Scene's children objects are duplicated:

  0: Link Objects
  1: Link Object data
  2: Full Copy

  currentFrame 
currentFrame ( self,  frame=None )

If frame is given, the current frame is set and returned in any case

  endFrame 
endFrame ( self,  frame=None )

If frame is given, the end frame is set and returned in any case

  frameSettings 
frameSettings (
        self,
        start=None,
        end=None,
        current=None,
        )

Sets or retrieves the Scene's frame settings. If the frame arguments are specified, they are set. A tuple (start, end, current) is returned in any case.

  getBackbufdir 
getBackbufdir ( self )

Returns the Backbuffer images location

  getChildren 
getChildren ( self )

Returns a list of the Scene's children Objects

  getCurrentCamera 
getCurrentCamera ( self )

Returns current active camera Object

  getRenderdir 
getRenderdir ( self )

Returns directory where rendered images are saved to

  link 
link ( self,  object )

Links Object object into Scene self.

  makeCurrent 
makeCurrent ( self )

Makes self the current Scene

  setCurrentCamera 
setCurrentCamera ( self,  object )

Sets the current active camera Object object

  startFrame 
startFrame ( self,  frame=None )

If frame is given, the start frame is set and returned in any case

  unlink 
unlink ( self,  object )

Unlinks (deletes) Object object from Scene.

  update 
update ( self )

Updates scene self. This function explicitely resorts the base list of a newly created object hierarchy.


Table of Contents

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