This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com
// get methods
// set methods
BaseObject
| Return type: | CameraObject |
|---|---|
| Returns: | The new object or None, if allocation failed. |
Get the camera projection.
| Return type: | int |
|---|---|
| Returns: | The projection. See Ocamera.h for values. |
Get the focus of the camera.
| Return type: | float |
|---|---|
| Returns: | The focus. |
Get the zoom of the camera.
| Return type: | float |
|---|---|
| Returns: | The zoom. |
Return the aperture width.
| Return type: | float |
|---|---|
| Returns: | The camera’s aperture. |
Set the camera projection.
| Parameter: | projection (int) – The projection. See Ocamera.h for values. |
|---|
Set the focus of the camera.
| Parameter: | v (float) – The focus. |
|---|
Set the zoom of the camera.
| Parameter: | zoom (float) – The zoom. |
|---|
Set the aperture width.
| Parameter: | v (float) – The camera’s aperture. |
|---|