Home | Trees | Index | Help |
|
---|
Module Camera :: Class Camera |
|
Warning: Most member variables assume values in some [Min, Max] interval. When trying to set them, the given parameter will be clamped to lie in that range: if val < Min, then val = Min, if val > Max, then val = Max.
Method Summary | |
---|---|
Camera |
Make a copy of this camera |
Add a new script link to this Camera. | |
Unlink the ipo from this camera data object. | |
Delete script links from this Camera. | |
float |
Get the clip end value. |
float |
Get the clip start value. |
float |
Get the draw size value. |
Ipo |
Get the Ipo associated with this camera data object, if any. |
float |
Get the lens value. |
int |
Get this Camera's mode flags. |
string |
Get the name of this Camera Data object. |
float |
Get the scale value. |
list |
Get a list with this Camera's script links of type 'event'. |
int |
Get this Camera's type. |
Inserts keytype values in camera ipo at curframe. | |
Set the clip end value. | |
Set the clip start value. | |
Set the draw size value. | |
Link an ipo to this camera data object. | |
Set the lens value. | |
Set this Camera's mode flags. | |
Set the name of this Camera Data object. | |
Set the scale value. | |
Set this Camera's type. |
Instance Variable Summary | |
---|---|
alpha : The PassePart alpha [0.0, 1.0]. | |
clipEnd : The clip end value in [1.0, 5000.0]. | |
clipStart : The clip start value in [0.0, 100.0]. | |
dofDist : The dofDist value in [0.0, 5000.0]. | |
drawLimits : Toggle the option to show limits in the 3d view. | |
drawMist : Toggle the option to show mist in the 3d view. | |
drawName : Toggle the option to show the camera name in the 3d view. | |
drawPassepartout : Toggle the option to show pass part out in the 3d view. | |
drawSize : The display size for the camera an the 3d view [0.1, 10.0]. | |
drawTileSafe : Toggle the option to show tile safe in the 3d view. | |
Blender Ipo | ipo : The "camera data" ipo linked to this camera data object. |
lens : The lens value in [1.0, 250.0], only relevant to *persp* cameras. | |
mode : The mode flags: ORed value: 'showLimits':1, 'showMist':2. | |
name : The Camera Data name. | |
scale : The scale value in [0.01, 1000.00], only relevant to *ortho*
cameras. | |
shiftx : The horizontal offset of the camera [-2.0, 2.0]. | |
shifty : The vertical offset of the camera [-2.0, 2.0]. | |
type : The Camera type: 'persp' or 'ortho' |
Method Details |
---|
__copy__()Make a copy of this camera
|
addScriptLink(text, event)Add a new script link to this Camera.
|
clearIpo()Unlink the ipo from this camera data object. (deprecated) See theipo attribute.
|
clearScriptLinks(links=None)Delete script links from this Camera. If no list is specified, all script links are deleted.
|
getClipEnd()Get the clip end value. (deprecated) See theclipEnd attribute.
|
getClipStart()Get the clip start value. (deprecated) See theclipStart attribute.
|
getDrawSize()Get the draw size value. (deprecated) See thedrawSize attribute.
|
getIpo()Get the Ipo associated with this camera data object, if any. (deprecated)
|
getLens()Get the lens value. (deprecated) See thelens
attribute.
|
getMode()Get this Camera's mode flags. (deprecated) See themode
attribute.
|
getName()Get the name of this Camera Data object. (deprecated) See thename attribute.
|
getScale()Get the scale value. (deprecated) See thescale attribute.
|
getScriptLinks(event)Get a list with this Camera's script links of type 'event'.
|
getType()Get this Camera's type. (deprecated) See thetype
attribute.
|
insertIpoKey(keytype)Inserts keytype values in camera ipo at curframe. Uses module constants.
|
setClipEnd(clipend)Set the clip end value. (deprecated) See theclipEnd attribute.
|
setClipStart(clipstart)Set the clip start value. (deprecated) See theclipStart attribute.
|
setDrawSize(drawsize)Set the draw size value. (deprecated) See thedrawSize attribute.
|
setIpo(ipo)Link an ipo to this camera data object. (deprecated) See theipo attribute.
|
setLens(lens)Set the lens value. (deprecated) See thelens attribute.
|
setMode(mode1=None, mode2=None)Set this Camera's mode flags. Mode strings given are turned 'on'. (deprecated) See themode attribute. Those not provided are
turned 'off', so cam.setMode() -- without arguments -- turns off all
mode flags for Camera cam.
|
setName(name)Set the name of this Camera Data object. (deprecated) See thename attribute.
|
setScale(scale)Set the scale value. (deprecated) See thescale attribute.
|
setType(type)Set this Camera's type. (deprecated) See thetype attribute.
|
Instance Variable Details |
---|
alphaThe PassePart alpha [0.0, 1.0]. |
clipEndThe clip end value in [1.0, 5000.0]. |
clipStartThe clip start value in [0.0, 100.0]. |
dofDistThe dofDist value in [0.0, 5000.0]. |
drawLimitsToggle the option to show limits in the 3d view. |
drawMistToggle the option to show mist in the 3d view. |
drawNameToggle the option to show the camera name in the 3d view. |
drawPassepartoutToggle the option to show pass part out in the 3d view. |
drawSizeThe display size for the camera an the 3d view [0.1, 10.0]. |
drawTileSafeToggle the option to show tile safe in the 3d view. |
ipoThe "camera data" ipo linked to this camera data object. Set to None to clear the ipo.
|
lensThe lens value in [1.0, 250.0], only relevant to *persp* cameras. |
modeThe mode flags: ORed value: 'showLimits':1, 'showMist':2. |
nameThe Camera Data name. |
scaleThe scale value in [0.01, 1000.00], only relevant to *ortho* cameras. |
shiftxThe horizontal offset of the camera [-2.0, 2.0]. |
shiftyThe vertical offset of the camera [-2.0, 2.0]. |
typeThe Camera type: 'persp' or 'ortho' |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 11 13:30:18 2007 | http://epydoc.sf.net |