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.

...

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

1 = Success.

...

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

setShiftLens

Sets camera cut planes.

LanguageSyntax
C++byte setShiftLens( real xShift, real yShift )
Pythonint setShiftLens( float xShift, float yShift )

Return value

0 = Error setting camera shift lens.

1 = Success.

Anchor
getshiftlens
getshiftlens

getShiftLens

Gets camera shift lens.

LanguageSyntax
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".