...
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 | TODOSets orthographic camera values. |
getOrthoValuesTODO | Gets orthographic camera values. |
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 | |
Ccamera#free | Destroys the camera. |
...
Type | Name | In/Out | Description |
---|---|---|---|
dword | iStep | in | Step number. |
Cpoint | origin | in | Camera position. |
Cpoint | focalPoint | in | Camera focus point. |
Cvector | up | in | Camera up vector. |
real | focalLenghtfocalLength | in | Camera focal lenght length (mm). |
real | fStop | in | Camera f-Stop. |
byte | focalLenghtNeedCorrectionfocalLengthNeedCorrection | in | Indicates wheter focal lenght length needs correction. Default value: 1 (true). |
...
Type | Name | In/Out | Description |
---|---|---|---|
dword | iStep | in | Step requested. |
Cpoint | origin | out | Camera position. |
Cpoint | focalPoint | out | Camera target. |
Cvector | up | out | Camera up vector. |
real | focalLenghtfocalLength | out | Camera focal lenght length (mm). |
real | fStop | out | Camera f-Stop. |
...
Anchor | ||||
---|---|---|---|---|
|
setOrthoValues
...
Sets orthographic camera values. Cmaxwell::addCamera() was called with one of the following values for projectionType: 1 (front), 2 (top), 3 (left), 4 (back), 5 (bottom), or 6 (right).
Language | Syntax |
---|---|
C++ | byte setOrthoValues( dword iStep, real orthoX, real orthoY, real orthoZoom, real focalLength, real fStop ) |
Python | int setOrthoValues( int iStep, float orthoX, float orthoY, float orthoZoom, float focalLength, float fStop ) |
...
Type | Name | In/Out | Description |
---|---|---|---|
dword | iStep | in | Camera step to be set. |
real | orthoX | in | Camera position. |
real | orthoY | in | Camera position. |
real | orthoZoom | in | Camera zoom. |
real | focalLenghtfocalLength | in | Camera focal lenghtlength. |
real | fStop | in | Camera f-Stop. |
Return values
0 = Error setting ortho values.
1 = Success.
...
getOrthoValues
. |
Return values
0 = Error setting ortho values.
1 = Success.
Anchor | ||||
---|---|---|---|---|
|
getOrthoValues
Sets orthographic camera values. Cmaxwell::addCamera() was called with one of the following values for projectionType: 1 (front), 2 (top), 3 (left), 4 (back), 5 (bottom), or 6 (right).
Language | Syntax |
---|---|
C++ | byte getOrthoValues( dword iStep, real& orthoX, real& orthoY, real& orthoZoom, real& focalLength, real& fStop ) |
Python | [ float 'orthoX', float 'orthoY', float 'ortoZoom', float 'focalLenghtfocalLength', float 'fStop' ] getOrthoValues( int iStep ) |
...
Type | Name | In/Out | Description |
---|---|---|---|
dword | iStep | in | Camera step requested. |
real | orthoX | out | Camera position. |
real | orthoY | out | Camera position. |
real | orthoZoom | out | Camera zoom. |
real | focalLenghtfocalLength | out | Camera focal lenghtlength. |
real | fStop | out | Camera f-Stop. |
...
0 = Error destroying the camera.
1 = Success.