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.
setOrthoValuesTODO
getOrthoValuesTODO
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 
freeDestroys the camera.

...

0 = Error getting camera diaphragm.

1 = Success.

Anchor
setfps
setfps

setFPS

Sets camera FPS.

LanguageSyntax
C++byte setFPS( real fps)
Pythonint setFPS( float fps )

Return value

0 = Error setting FPS.

1 = Success.

Anchor
getFPS
getFPS

getFPS

Gets camera FPS.

LanguageSyntax
C++byte getFPS( real& fps )
Pythonfloat getFPS()

Return value

C++

0 = Error getting FPS.

1 = Success.

Python

FPS.

Anchor
setscreenregion
setscreenregion

...

TypeNameIn/OutDescription
dwordx1inX-axis up-left edge of the region (in pixels)
dwordy1inY-axis up-left edge of the region (in pixels)
dwordx2inX-axis down-right edge of the region (in pixels)
dwordy2inY-axis down-right edge of the region (in pixels)
const char*pRegionTypeinRegion type. Must be one of the following values: "REGION" or "BLOW UP".

Return value

0 = Error setting screen region.

...

TypeNameIn/OutDescription
dwordx1outX-axis up-left edge of the region (in pixels)
dwordy1outY-axis up-left edge of the region (in pixels)
dwordx2outX-axis down-right edge of the region (in pixels)
dwordy2outY-axis down-right edge of the region (in pixels)
const char*pRegionTypeoutRegion type. Must be one of the following values: "REGION" or "BLOW UP".

Return value

C++

0 = Error setting screen region.

1 = Success.

...