...
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. |
...
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 getting screen region.
1 = Success.
...
Language | Syntax |
---|---|
C++ | byte getCutPlanes( real& zNear, real& zFar, bool& enabled ) |
Python | ['zNear','zFar','enabled'] getCutPlanes() |
Return value
C++
0 = Error setting getting camera cut planes.
1 = Success.
...
Dictionary containing "zNear", "zFar" and "enabled" values.
...
Anchor | ||||
---|---|---|---|---|
|
setShiftLens
Sets camera cut planes.
Language | Syntax |
---|---|
C++ | byte setShiftLens( real xShift, real yShift ) |
Python | int setShiftLens( float xShift, float yShift ) |
Return value
0 = Error setting camera shift lens.
1 = Success.
Anchor | ||||
---|---|---|---|---|
|
getShiftLens
Gets camera shift lens.
Language | Syntax |
---|---|
C++ | byte getShiftLens( real& xShift, real& yShift ) |
Python | ['xShift','yShift'] getShiftLens() |
Return value
C++
0 = Error getting camera shift lens.
1 = Success.
Python
Dictionary containing "xShift" and "yShift".