# Copyright 2009 Autodesk, Inc.  All rights reserved.
# Use of this software is subject to the terms of the Autodesk license agreement 
# provided at the time of installation or download, or which otherwise accompanies
# this software in either electronic or hard copy form.
#
# Topic: FBCamera, FBColor
#
from pyfbsdk import FBSystem, FBColor

# We simply iterate thru all the cameras in the system and set
# the background color to a new value... Always the same in this case.
for lCamera in FBSystem().Scene.Cameras:
    lCamera.BackGroundColor = FBColor( 0.2, 0.4, 0.6)

# Cleanup everything.
del( lCamera )
del( FBSystem, FBColor )