...
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. |
...
Language | Syntax |
---|---|
C++ | const char* getValues( dword& nSteps, real& shutter, real& filmWidth, real& filmHeight, real& iso, const char** pDiaphragmType, real& angle, dword& nBlades, dword& fps, dword& xRes, dword& yRes, real& pixelAspect, byte& projectionType ); |
Python | [int 'nSteps', float 'shutter', float 'filmWidth', float 'filmHeight', float 'iso', str 'DiaphragmType', float 'angle', int 'nBlades', int 'fps', int 'xRes', int 'yRes', float 'pixelAspect', int 'projectionType'] getValues() |
...
Language | Syntax |
---|---|
C++ | byte setName( const char* pName ); |
Python | int setName( str name ); |
Return value
0 = Error setting camera name.
...
Language | Syntax |
---|---|
C++ | const char* getName(); |
Python | str getName(); |
Anchor | ||||
---|---|---|---|---|
|
...
1 = Success.
Python
Pixel aspect.
Anchor | ||||
---|---|---|---|---|
|
setShutter
Sets camera shutter.
Language | Syntax |
---|---|
C++ | byte setShutter( real shutter ) |
Python | int setShutter( float shutter ) |
Return value
0 = Error setting shutter.
1 = Success.
Anchor | ||||
---|---|---|---|---|
|
getShutter
Gets camera shutter.
Language | Syntax |
---|---|
C++ | byte getShutter( real& shutter ) |
Python | float getShutter() |
Return value
C++
0 = Error getting shutter.
1 = Success.
Python
Shutter.
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.
...