...
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. |
...
(x,y) = Tuple containing width and height.
Anchor | ||||
---|---|---|---|---|
|
setPixelAspect
Sets camera pixel aspect.
Language | Syntax |
---|---|
C++ | byte setPixelAspect( real pixelAspect ) |
Python | int setPixelAspect( float pixelAspext ) |
Return value
0 = Error setting pixel aspect.
1 = Success.
Anchor | ||||
---|---|---|---|---|
|
getPixelAspect
Gets camera pixel aspect.
Language | Syntax |
---|---|
C++ | byte getPixelAspect( real& pixelAspect) |
Python | float getPixelAspect() |
Return value
C++
0 = Error getting pixel aspect.
1 = Success.
Python
Pixel aspect.
Anchor | ||||
---|---|---|---|---|
|
setFilmSize
...
Language | Syntax |
---|---|
C++ | byte setFilmSize( real filmWidth, real filmHeight ) |
Python | int setFilmSize( float filmWidth, float filmHeight) |
Return value
0 = Error setting film size.
...
Language | Syntax |
---|---|
C++ | byte getFilmSize( real& filmWidth, real& filmHeight ) |
Python | (x,y) getFilmSize() |
Return value
C++
0 = Error getting camera film size.
1 = Success.
Python
(x,y) = Tuple containing width and height.
...
Type | Name | In/Out | Description |
---|---|---|---|
const char* | pDiaphragmType | in | Diaphgragm type. Must be one of the following values: "CIRCULAR" or "POLYGONAL". |
real | angle | in | Diaphgragm angle. |
dword | nBlades | in | Number of blades (of "POLYGONAL" diaphragm). |
Return value
0 = Error setting camera diaphgragm.
...
Type | Name | In/Out | Description |
---|---|---|---|
const char* | pDiaphragmType | out | Diaphgragm type. Can be one of the following values: "CIRCULAR" or "POLYGONAL". |
real | angle | out | Diaphgragm angle. |
dword | nBlades | out | Number of blades (if "POLYGONAL" diaphragm). |
Return value
C++
0 = Error getting camera diaphragm.
...
Type | Name | In/Out | Description |
---|---|---|---|
dword | x1 | in | X-axis up-left edge of the region (in pixels) |
dword | y1 | in | Y-axis up-left edge of the region (in pixels) |
dword | x2 | in | X-axis down-right edge of the region (in pixels) |
dword | y2 | in | Y-axis down-right edge of the region (in pixels) |
const char* | pRegionType | in | Region type. Must be one of the following values: "REGION" or "BLOW UP". |
Return value
0 = Error setting screen region.
...
Type | Name | In/Out | Description |
---|---|---|---|
dword | x1 | out | X-axis up-left edge of the region (in pixels) |
dword | y1 | out | Y-axis up-left edge of the region (in pixels) |
dword | x2 | out | X-axis down-right edge of the region (in pixels) |
dword | y2 | out | Y-axis down-right edge of the region (in pixels) |
const char* | pRegionType | out | Region type. Must be one of the following values: "REGION" or "BLOW UP". |
Return value
C++
0 = Error setting screen region.
1 = Success.
...