...
Name | Description |
---|---|
setStep | Sets the camera parameters that can change in an animation. |
getStep | Gets the camera parameteres that can change in an animation. |
setOrthoValues | TODO |
getOrthoValues | TODO |
getValues | Gets the camera parameters that cannot change in an animation. |
setName | Sets camera name. |
getName | Gets camera name. |
setResolution | Sets camera resolution. |
getResolution | Gets camera resolution. |
setPixelAspect | Sets camera pixel aspect. |
getPixelAspect | Gets camera pixel aspect. |
setShutter | Sets camera shutter. |
getShutter | Gets camera shutter. |
setIso | Sets camera ISO. |
getIso | Gets camera ISO. |
setFilmSize | Sets camera film size. |
getFilmSize | Gets camera film size. |
setDiaphragm | Sets camera diaphragm. |
getDiaphragm | Gets camera diaphragm. |
setFPS | Sets camera FPS. |
getFPS | Gets camera FPS. |
setScreenRegion | Defines a render region for the camera. |
getScreenRegion | Gets render region defined. |
setCutPlanes | Sets camera cut planes. |
getCutPlanes | Gets camera cut planes. |
setShiftLens | Sets camera shift lens. |
getShiftLens | Gets camera shift lens. |
setHide | Sets camera hidden status. |
isHide | Gets camera hidden status. |
setUuid | Sets camera unique ID. For custom purposes. |
getUuid | Gets camera unique ID. For custom purposes. |
setUserData | |
getUserData | |
setActive | Sets the active camera in case the scene have more than one. |
setDirty | |
isDirty | |
free | Destroys the camera. |
...
0 = Error setting screen region.
1 = Success.
Anchor | ||||
---|---|---|---|---|
|
setCutPlanes
Sets camera cut planes.
Language | Syntax |
---|---|
C++ | byte setCutPlanes( real zNear, real zFar, bool enabled ) |
Python | int setCutPlanes( float zNear, float zFar, bool enabled ) |
Return value
0 = Error setting camera cut planes.
1 = Success.
Anchor | ||||
---|---|---|---|---|
|
getCutPlanes
Gets camera cut planes.
Language | Syntax |
---|---|
C++ | byte getCutPlanes( real& zNear, real& zFar, bool& enabled ) |
Python | ['zNear','zFar','enabled'] getCutPlanes() |
Return value
C++
0 = Error setting camera cut planes.
1 = Success.
Python
Dictionary containing "zNear", "zFar" and "enabled" values.