Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescription
setStepSets the camera parameters that can change in an animation.
getStepGets the camera parameteres that can change in an animation.
setOrthoValuesTODOSets orthographic camera values.
getOrthoValuesTODOGets orthographic camera values.
getValuesGets the camera parameters that cannot change in an animation.
setNameSets camera name.
getNameGets camera name.
setResolutionSets camera resolution.
getResolutionGets camera resolution.
setPixelAspectSets camera pixel aspect.
getPixelAspectGets camera pixel aspect.
setShutterSets camera shutter.
getShutterGets camera shutter.
setIsoSets camera ISO.
getIsoGets camera ISO.
setFilmSizeSets camera film size.
getFilmSizeGets camera film size.
setDiaphragmSets camera diaphragm.
getDiaphragmGets camera diaphragm.
setFPSSets camera FPS.
getFPSGets camera FPS.
setScreenRegionDefines a render region for the camera.
getScreenRegionGets render region defined.
setCutPlanesSets camera cut planes.
getCutPlanesGets camera cut planes.
setShiftLensSets camera shift lens.
getShiftLensGets camera shift lens.
setHideSets camera hidden status.
isHideGets camera hidden status.
setUuidSets camera unique ID. For custom purposes.
getUuidGets camera unique ID. For custom purposes.
setUserData 
getUserData 
setActiveSets the active camera in case the scene have more than one.
setDirty 
isDirty 
Ccamera#freeDestroys the camera.

...

TypeNameIn/OutDescription
dwordiStepinStep number.
CpointorigininCamera position.
CpointfocalPointinCamera focus point.
CvectorupinCamera up vector.
realfocalLenghtfocalLengthinCamera focal lenght length (mm).
realfStopinCamera f-Stop.
bytefocalLenghtNeedCorrectionfocalLengthNeedCorrectioninIndicates wheter focal lenght length needs correction. Default value: 1 (true).

...

TypeNameIn/OutDescription
dwordiStepinStep requested.
CpointoriginoutCamera position.
CpointfocalPointoutCamera target.
CvectorupoutCamera up vector.
realfocalLenghtfocalLengthoutCamera focal lenght length (mm).
realfStopoutCamera f-Stop.

...

Anchor
setorthovalues
setorthovalues

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).

LanguageSyntax
C++byte setOrthoValues( dword iStep, real orthoX, real orthoY, real orthoZoom, real focalLength, real fStop )
Pythonint setOrthoValues( int iStep, float orthoX, float orthoY, float orthoZoom, float focalLength, float fStop )

...

TypeNameIn/OutDescription
dwordiStepinCamera step to be set.
realorthoXin Camera position.
realorthoYin Camera position.
realorthoZoomin Camera zoom.
realfocalLenghtfocalLengthinCamera focal lenghtlength.
realfStopinCamera f-Stop.

Return values

0 = Error setting ortho values.

1 = Success.

...

getOrthoValues

 

.

Return values

0 = Error setting ortho values.

1 = Success.

Anchor
getorthovalues
getorthovalues

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).

LanguageSyntax
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 )

...

TypeNameIn/OutDescription
dwordiStepinCamera step requested.
realorthoXout Camera position.
realorthoYout Camera position.
realorthoZoomout Camera zoom.
realfocalLenghtfocalLengthoutCamera focal lenghtlength.
realfStopoutCamera f-Stop.

...

0 = Error destroying the camera.

1 = Success.