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 setting screen region.

1 = Success.

Anchor
setcutplanes
setcutplanes

setCutPlanes

Sets camera cut planes.

LanguageSyntax
C++byte setCutPlanes( real zNear, real zFar, bool enabled )
Pythonint setCutPlanes( float zNear, float zFar, bool enabled )

Return value

0 = Error setting camera cut planes.

1 = Success.

Anchor
getcutplanes
getcutplanes

getCutPlanes

Gets camera cut planes.

LanguageSyntax
C++byte getCutPlanes( real& zNear, real& zFar, bool& enabled )
Python['zNear','zFar','enabled'] getCutPlanes()

Return value

C++

0 = Error setting camera cut planes.

1 = Success.

Python

Dictionary containing "zNear", "zFar" and "enabled" values.