| 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 | |
|---|---|
Unlink the ipo from this camera data object. | |
| 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. |
| int |
Get this Camera's type. |
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 this Camera's type. | |
| Class Variable Summary | |
|---|---|
clipEnd: The clip end value in [1.0, 5000.0]. | |
clipStart: The clip start value in [0.0, 100.0]. | |
drawSize: The draw size value in [0.1, 10.0]. | |
| Blender Ipo | ipo: The "camera data" ipo linked to this camera data object. |
lens: The lens value in [1.0, 250.0]. | |
mode: The mode flags: or'ed value: 'showLimits':1, 'showMist':2. | |
name: The Camera Data name. | |
type: The Camera type: 'persp':0 or 'ortho':1. | |
| Method Details |
|---|
clearIpo()Unlink the ipo from this camera data object.
|
getClipEnd()Get the clip end value.
|
getClipStart()Get the clip start value.
|
getDrawSize()Get the draw size value.
|
getIpo()Get the Ipo associated with this camera data object, if any.
|
getLens()Get the lens value.
|
getMode()Get this Camera's mode flags.
|
getName()Get the name of this Camera Data object.
|
getType()Get this Camera's type.
|
setClipEnd(clipend)Set the clip end value.
|
setClipStart(clipstart)Set the clip start value.
|
setDrawSize(drawsize)Set the draw size value.
|
setIpo(ipo)Link an ipo to this camera data object.
|
setLens(lens)Set the lens value.
|
setMode(mode1=None, mode2=None)Set this Camera's mode flags. Mode strings given are turned 'on'. 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.
|
setType(type)Set this Camera's type.
|
| Class Variable Details |
|---|
clipEndThe clip end value in [1.0, 5000.0]. |
clipStartThe clip start value in [0.0, 100.0]. |
drawSizeThe draw size value in [0.1, 10.0]. |
ipoThe "camera data" ipo linked to this camera data object.
|
lensThe lens value in [1.0, 250.0]. |
modeThe mode flags: or'ed value: 'showLimits':1, 'showMist':2. |
nameThe Camera Data name. |
typeThe Camera type: 'persp':0 or 'ortho':1. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Mon Feb 2 18:51:07 2004 | http://epydoc.sf.net |