Module vrCamera
[frames] | no frames]

Module vrCamera

Most functions in this module are deprecated; use vrCameraService, vrdCameraNode and vrdViewpointNode instead.

Functions
 
addCollisionNode(name)
Deprecated.
 
addViewPoint(name, unique)
Deprecated.
 
adjustAtPos4Viewpoint(name, rootname)
Adjust the look at point onto the surface of the closest object in the direction of viewing.
 
buildCollisionData()
Deprecated.
 
enableCollision(activate)
Deprecated.
 
enableCollisionSlide(activate)
Deprecated.
vrNodePtr
getActiveCameraNode()
Deprecated.
bool
getCameraHmdMode()
Returns camera Vive mode state.
dict
getCameraTracks(name)
Deprecated.
bool
getDepthOfField()
Deprecated.
bool
getDollyZoom()
Deprecated.
float
getFogBlendHeight()
Deprecated.
Vec3f
getFogColorDistance()
Deprecated.
Vec3f
getFogColorHeight()
Deprecated.
float
getFogDensityDistance()
Deprecated.
float
getFogDensityHeight()
Deprecated.
bool
getFogDistance()
Deprecated.
bool
getFogEnableNoiseSizeUniformDistance()
Deprecated.
bool
getFogEnableNoiseSizeUniformHeight()
Deprecated.
unsigned int
getFogFalloffDistance()
Deprecated.
unsigned int
getFogFalloffHeight()
Deprecated.
bool
getFogHeight()
Deprecated.
float
getFogNoiseDistance()
Deprecated.
float
getFogNoiseHeight()
Deprecated.
Vec3f
getFogNoiseOffsetDistance()
Deprecated.
Vec3f
getFogNoiseOffsetHeight()
Deprecated.
Vec3f
getFogNoiseSizeDistance()
Deprecated.
Vec3f
getFogNoiseSizeHeight()
Deprecated.
float
getFogRangeDistance()
Deprecated.
Vec2f
getFogRangeHeight()
Deprecated.
bool
getGlare()
Deprecated.
bool
getGlow()
Deprecated.
bool
getLensFlare()
Deprecated.
bool
getMotionBlur()
Deprecated.
unsigned int
getViewpointCreationMode()
Deprecated.
vrNodePtr
getViewpointNode(name)
Deprecated.
string
getViewpointPreview(name)
Deprecated.
list of strings
getViewpoints()
Deprecated.
 
jumpViewPoint(name)
Deprecated.
 
loadViewPoints(filename)
Deprecated.
 
playTrack(name)
Deprecated.
 
removeViewPoint(name)
Deprecated.
 
saveViewPoints(filename)
Deprecated.
 
selectCamera(name)
Deprecated.
 
selectViewPoint(name)
Deprecated.
 
setCameraHmdMode(activate)
Enables/disables camera Vive mode.
 
setCollisionBuildMethod(method)
Deprecated.
 
setCollisionDistance(dist)
Deprecated.
 
setDepthOfField(on)
Deprecated.
 
setDollyZoom(on)
Deprecated.
 
setExposure(exposure, name)
Deprecated.
 
setFStop(fStop, name)
Deprecated.
 
setFogBlendHeight(blend)
Deprecated.
 
setFogColorDistance(r, g, b)
Deprecated.
 
setFogColorHeight(r, g, b)
Deprecated.
 
setFogDensityDistance(density)
Deprecated.
 
setFogDensityHeight(density)
Deprecated.
 
setFogDistance(activate)
Deprecated.
 
setFogEnableNoiseSizeUniformDistance(uniform)
Deprecated.
 
setFogEnableNoiseSizeUniformHeight(uniform)
Deprecated.
 
setFogFalloffDistance(falloff)
Deprecated.
 
setFogFalloffHeight(falloff)
Deprecated.
 
setFogHeight(activate)
Deprecated.
 
setFogNoiseDistance(intensity)
Deprecated.
 
setFogNoiseHeight(intensity)
Deprecated.
 
setFogNoiseOffsetDistance(offsetX, offsetY, offsetZ)
Deprecated.
 
setFogNoiseOffsetHeight(offsetX, offsetY, offsetZ)
Deprecated.
 
setFogNoiseSizeDistance(sizeX, sizeY, sizeZ)
Deprecated.
 
setFogNoiseSizeHeight(sizeX, sizeY, sizeZ)
Deprecated.
 
setFogRangeDistance(near)
Deprecated.
 
setFogRangeHeight(min, max)
Deprecated.
 
setGlare(on)
Deprecated.
 
setGlow(on)
Deprecated.
 
setLeftEyeBlendingMap(file, activate)
Deprecated.
 
setLensFlare(on)
Deprecated.
 
setMotionBlur(on)
Deprecated.
 
setNavigatorMode(mode)
Sets the current navigator mode (0: fly, 1: trackball, 2: axis, 3: none, 4: orientation).
 
setRightEyeBlendingMap(file, activate)
Deprecated.
 
setViewPoint(name)
Deprecated.
 
setViewpointCreationMode(mode)
Deprecated.
 
setWhitepoint(whitepoint, name)
Deprecated.
 
viewpointAnim(name)
Deprecated.
Variables
  IgnoreTrackingMatrix = 0
  IncludeTrackingMatrix = 1
Function Details

addCollisionNode(name)

 

Deprecated. Use vrCameraService.getActiveCamera().getCameraCollider().addNode(name) instead.

Add node to collide against for the active camera.

Parameters:
  • name (string) - The name of the node.

addViewPoint(name, unique)

 

Deprecated. Use vrCameraService.createViewpoint(name) instead.

Adds the current view as a viewpoint with the name provided.

Parameters:
  • name (string) - The name of the viewpoint to add.
  • unique (bool) - If true, a unique name is generated. (Optional).

adjustAtPos4Viewpoint(name, rootname)

 

Adjust the look at point onto the surface of the closest object in the direction of viewing.

Parameters:
  • name (string) - The name of the viewpoint.
  • rootname (string) - The name of the root node that may contain the object (Optional).

buildCollisionData()

 

Deprecated. Use vrCameraService.getActiveCamera().getCameraCollider().buildCollisionStructure() instead.

Build data structure for collision detection for the active camera.

enableCollision(activate)

 

Deprecated. Use vrCameraService.getActiveCamera().getCameraCollider().setEnabled(activate) instead.

Enables/disables the collision detection for the active camera.

Parameters:
  • activate (bool) - If true, the collision is enabled.

enableCollisionSlide(activate)

 

Deprecated. Use vrCameraService.getActiveCamera().getCameraCollider().setSlide(activate) instead.

Enables/disables the sliding for collision detection for the active camera.

Parameters:
  • activate (bool) - If true, the sliding for the collision is enabled.

getActiveCameraNode()

 

Deprecated. Use vrCameraService.getActiveCamera() instead.

Returns the active camera vrNodePtr of the active render window.

Returns: vrNodePtr
Camera node.

getCameraHmdMode()

 

Returns camera Vive mode state.

Returns: bool
0 = off, 1 = on

getCameraTracks(name)

 

Deprecated. Use vrCameraService.getAllCameraTracks() and track.getChildren() instead.

Gets all camera track names and the names of the contained viewpoints for the given camera.

Parameters:
  • name (string) - Camera name.
Returns: dict
Camera tracks for passed camera name.

getDepthOfField()

 

Deprecated. Use vrCameraService.getActiveCamera().getDepthOfField() instead.

Returns the current depth of field state of the current camera.

Returns: bool
current state of depth of field flag.

getDollyZoom()

 

Deprecated. Use vrCameraService.getActiveCamera().getDollyZoom() instead.

Returns the current dolly zoom state of the current camera.

Returns: bool
current state of dolly zoom flag.

getFogBlendHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFogBlend() instead.

Returns the blend value of height-fog.

Returns: float
Returns the blend value of height-fog.

getFogColorDistance()

 

Deprecated. Use vrCameraService.getActiveCamera().getDistanceFogColor() instead.

Get the color of distance-fog.

Returns: Vec3f
A vector with r, g, b components.

getFogColorHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFogColor() instead.

Get the color of height-fog.

Returns: Vec3f
A vector with r, g, b components.

getFogDensityDistance()

 

Deprecated. Use vrCameraService.getActiveCamera().getDistanceFogDensity() instead.

Returns the density of distance-fog.

Returns: float
Returns the density of distance-fog.

getFogDensityHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFogDensity() instead.

Returns the density of height-fog.

Returns: float
Returns the density of height-fog.

getFogDistance()

 

Deprecated. Use vrCameraService.getActiveCamera().getDistanceFog() instead.

Returns the current activation value of distance-fog.

Returns: bool
Returns the current activation value of distance-fog.

getFogEnableNoiseSizeUniformDistance()

 

Deprecated. Use vrCameraService.getActiveCamera().getDistanceFogEnableNoiseSizeUniform() instead.

Returns the uniform noise size flag for distance-fog.

Returns: bool

getFogEnableNoiseSizeUniformHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFogEnableNoiseSizeUniform() instead.

Returns the uniform noise size flag for height-fog.

Returns: bool

getFogFalloffDistance()

 

Deprecated. Use vrCameraService.getActiveCamera().getDistanceFogFalloff() instead.

Returns the falloff type of distance-fog.

Returns: unsigned int
Returns the current falloff type of distance-fog.

getFogFalloffHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFogFalloff() instead.

Returns the falloff type of height-fog.

Returns: unsigned int
Returns the current falloff type of height-fog.

getFogHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFog() instead.

Returns the current activation value of height-fog.

Returns: bool
Returns the current activation value of height-fog.

getFogNoiseDistance()

 

Deprecated. Use vrCameraService.getActiveCamera().getDistanceFogNoise() instead.

Returns the noise intensity of distance-fog.

Returns: float
Returns the noise intensity of distance-fog.

getFogNoiseHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFogNoise() instead.

Returns the noise intensity of height-fog.

Returns: float
Returns the noise intensity of height-fog.

getFogNoiseOffsetDistance()

 

Deprecated. Use vrCameraService.getActiveCamera().getDistanceFogNoiseOffset() instead.

Returns the noise offset of distance-fog.

Returns: Vec3f
Returns the noise offset of distance-fog.

getFogNoiseOffsetHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFogNoiseOffset() instead.

Returns the noise offset of distance-fog.

Returns: Vec3f
Returns the noise offset of distance-fog.

getFogNoiseSizeDistance()

 

Deprecated. Use vrCameraService.getActiveCamera().getDistanceFogNoiseSize() instead.

Returns the noise size of distance-fog.

Returns: Vec3f
Returns the noise size of distance-fog.

getFogNoiseSizeHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFogNoiseSize() instead.

Returns the noise size of height-fog.

Returns: Vec3f
Returns the noise size of height-fog.

getFogRangeDistance()

 

Deprecated. Use vrCameraService.getActiveCamera().getDistanceFogRange() instead.

Get the near value of distance-fog.

Returns: float
Distance from camera where the fog begins.

getFogRangeHeight()

 

Deprecated. Use vrCameraService.getActiveCamera().getHeightFogRange() instead.

Get the range of height-fog.

Returns: Vec2f
A vector with min, max values.

getGlare()

 

Deprecated. Use vrCameraService.getActiveCamera().getGlare() instead.

Returns the current glare state of the current camera.

Returns: bool
current state of glare flag.

getGlow()

 

Deprecated. Use vrCameraService.getActiveCamera().getGlow() instead.

Returns the current glow state of the current camera.

Returns: bool
current state of glow flag.

getLensFlare()

 

Deprecated. Use vrCameraService.getActiveCamera().getLensFlare() instead.

Returns the current lens flare state of the current camera.

Returns: bool
current state of lens flare flag.

getMotionBlur()

 

Deprecated. Use vrCameraService.getActiveCamera().getMotionBlur() instead.

Returns the current motion blur state of the current camera.

Returns: bool
current state of motion blur flag.

getViewpointCreationMode()

 

Deprecated. Use vrCameraService.getViewpointCreationMode() instead.

Returns viewpoint creation mode. See setViewpointCreationMode.

Returns: unsigned int
0 (IgnoreTrackingMatrix), 1 (IncludeTrackingMatrix).

getViewpointNode(name)

 

Deprecated. Use vrCameraService.getViewpoint(name) instead.

Returns the viewpoint vrNodePtr with passed name.

Parameters:
  • name (string) - The name of the viewpoint.
Returns: vrNodePtr
Viewpoint node.

getViewpointPreview(name)

 

Deprecated. Use vrCameraService.getAllViewpoints() and vrdViewpointNode.getPreview() instead.

Get a preview image for the viewpoint (if it has one).

Convert returned data to Base64: base64.b64encode(getViewpointPreview("View"))

Parameters:
  • name (string) - The name of the viewpoint.
Returns: string
bytes of a png image.

getViewpoints()

 

Deprecated. Use vrCameraService.getAllViewpoints() and vrdViewpointNode.getName() instead.

Returns a list of all viewpoints.

Returns: list of strings
Viewpoint names.

jumpViewPoint(name)

 

Deprecated. Use vrCameraService.getViewpoint(name).activate(True) instead.

Jumps to the Viewpoint via name. The difference to selectViewPoint is that this function immediately jumps to the viewpoint (no interpolation).

Parameters:
  • name (string) - The name of the viewpoint.

loadViewPoints(filename)

 

Deprecated. Use vrCameraService.load(filename) instead.

Loads a viewpoint xml-file from disk.

Parameters:
  • filename (string) - The name of the XML-file.

playTrack(name)

 

Deprecated. Use vrCameraService.getAllCameraTracks(), find the track with the name, and track.setPlaying(True) instead.

Plays a track via name.

Parameters:
  • name (string) - The name of the track.

removeViewPoint(name)

 

Deprecated. Use vrNodeService.removeNodes([vrCameraService.getViewpoint(name)]) instead.

Removes the viewpoint with the given name.

Parameters:
  • name (string) - The name of the viewpoint to remove.

saveViewPoints(filename)

 

Deprecated. Use vrCameraService.saveViewpoints(filename) instead.

Saves a viewpoint xml-file to disk.

Parameters:
  • filename (string) - The name of the XML-file.

selectCamera(name)

 

Deprecated. Use vrCameraService.getCamera(name).activate() instead.

Activates a camera via name.

Parameters:
  • name (string) - The name of the camera.

selectViewPoint(name)

 

Deprecated. Use vrCameraService.getViewpoint(name).activate() instead.

Activates a viewpoint via name.

Parameters:
  • name (string) - The name of the viewpoint.

setCameraHmdMode(activate)

 

Enables/disables camera Vive mode.

Parameters:
  • activate (bool) - 0 = off, 1 = on

setCollisionBuildMethod(method)

 

Deprecated. Use vrCameraService.getActiveCamera().getCameraCollider().setCollisionStructureBuildMethod(method) instead.

Set collision building method for the active camera.

Parameters:
  • method (int) - 0 = use triangles, 1 = use bounding boxes.

setCollisionDistance(dist)

 

Deprecated. Use vrCameraService.getActiveCamera().getCameraCollider().setDistance(dist) instead.

Sets the closest allowed distance from the active camera to a colliding object.

Parameters:
  • dist (float) - The distance.

setDepthOfField(on)

 

Deprecated. Use vrCameraService.getActiveCamera().setDepthOfField(on) instead.

Enables/disables depth of field for the current camera.

Parameters:
  • on (bool) - true/false

setDollyZoom(on)

 

Deprecated. Use vrCameraService.getActiveCamera().setDollyZoom(on) instead.

Enables/disables dolly zoom for the current camera.

Parameters:
  • on (bool) - true/false

setExposure(exposure, name)

 

Deprecated. Use vrCameraService.getActiveCamera().getTonemapper().setExposure(exposure) or vrCameraService.getCamera(name).getTonemapper().setExposure(exposure) instead.

Sets the exposure of the active camera. Alternatively, the name of a specific camera can be provided.

Parameters:
  • exposure (float) - The exposure.
  • name (string) - The name of the camera (Optional).

setFStop(fStop, name)

 

Deprecated. Use vrCameraService.getActiveCamera().setFStop(fStop) or vrCameraService.getCamera(name).setFStop(fStop) instead.

Sets the FStop of the active camera. Alternatively, the name of a specific camera can be provided.

Please note that the FStop value only takes effect if Depth of Field is activated for the camera.

Parameters:
  • fStop (float) - The FStop in f/N where N is the value passed to this function.
  • name (string) - The name of the camera (Optional).

setFogBlendHeight(blend)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFogBlend(blend) instead.

Set the transition distance between fog and no fog.

Parameters:
  • blend (float) - smooths the transition between areas with fog and areas without fog (value from 0 to 1).

setFogColorDistance(r, g, b)

 

Deprecated. Use vrCameraService.getActiveCamera().setDistanceFogColor(color) instead.

Sets the color of the distance-fog.

Parameters:
  • r (float) - Red component of the fog color, range [0; 1].
  • g (float) - Green component of the fog color, range [0; 1].
  • b (float) - Blue component of the fog color, range [0; 1].

setFogColorHeight(r, g, b)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFogColor(color) instead.

Sets the color of the height-fog.

Parameters:
  • r (float) - Red component of the fog color, range [0; 1].
  • g (float) - Green component of the fog color, range [0; 1].
  • b (float) - Blue component of the fog color, range [0; 1]n

setFogDensityDistance(density)

 

Deprecated. Use vrCameraService.getActiveCamera().setDistanceFogDensity(density) instead.

Set the density of distance-fog.

Parameters:
  • density (float) - The fog density (value >= 0).

setFogDensityHeight(density)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFogDensity(density) instead.

Set the density of height-fog.

Parameters:
  • density (float) - The fog density (value >= 0).

setFogDistance(activate)

 

Deprecated. Use vrCameraService.getActiveCamera().setDistanceFog(activate) instead.

Enables/disables distance-fog.

Parameters:
  • activate (bool) - 0 = off, 1 = on

setFogEnableNoiseSizeUniformDistance(uniform)

 

Deprecated. Use vrCameraService.getActiveCamera().setDistanceFogEnableNoiseSizeUniform(uniform) instead.

Enables/disables uniform noise size for distance-fog.

Parameters:
  • uniform (bool) - if true, uniform noise is activated

setFogEnableNoiseSizeUniformHeight(uniform)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFogEnableNoiseSizeUniform(uniform) instead.

Enables/disables uniform noise size for height-fog.

Parameters:
  • uniform (bool) - if true, uniform noise is activated

setFogFalloffDistance(falloff)

 

Deprecated. Use vrCameraService.getActiveCamera().setDistanceFogFalloff(falloff) instead.

Set the falloff.

Parameters:
  • falloff (unsigned int) - 0 = realistic, 1 = linear

setFogFalloffHeight(falloff)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFogFalloff(falloff) instead.

Set the falloff of height-fog.

Parameters:
  • falloff (unsigned int) - 0 = realistic, 1 = linear

setFogHeight(activate)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFog(activate) instead.

Enables/disables height-fog.

Parameters:
  • activate (bool) - 0 = off, 1 = on

setFogNoiseDistance(intensity)

 

Deprecated. Use vrCameraService.getActiveCamera().setDistanceFogNoise(intensity) instead.

Set the intensity of noise for distance-fog.

Parameters:
  • intensity (float) - Multiplier of noise (value from 0 to 10).

setFogNoiseHeight(intensity)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFogNoise(intensity) instead.

Set the intensity of noise for height-fog.

Parameters:
  • intensity (float) - Multiplier of noise (value from 0 to 10).

setFogNoiseOffsetDistance(offsetX, offsetY, offsetZ)

 

Deprecated. Use vrCameraService.getActiveCamera().setDistanceFogNoiseOffset(offset) instead.

Set the offset of noise for distance-fog.

Parameters:
  • offsetX (float) - Noise offset along X.
  • offsetY (float) - Noise offset along Y.
  • offsetZ (float) - Noise offset along Z.

setFogNoiseOffsetHeight(offsetX, offsetY, offsetZ)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFogNoiseOffset(offset) instead.

Set the offset of noise for distance-fog.

Parameters:
  • offsetX (float) - Noise offset along X.
  • offsetY (float) - Noise offset along Y.
  • offsetZ (float) - Noise offset along Z .

setFogNoiseSizeDistance(sizeX, sizeY, sizeZ)

 

Deprecated. Use vrCameraService.getActiveCamera().setDistanceFogNoiseSize(size) instead.

Set the size of noise for distance-fog.

Parameters:
  • sizeX (float) - Noise size along X (value >= 0.01).
  • sizeY (float) - Noise size along Y (value >= 0.01).
  • sizeZ (float) - Noise size along Z (value >= 0.01).

setFogNoiseSizeHeight(sizeX, sizeY, sizeZ)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFogNoiseSize(size) instead.

Set the size of noise for height-fog.

Parameters:
  • sizeX (float) - Noise size along X (value >= 0.01).
  • sizeY (float) - Noise size along Y (value >= 0.01).
  • sizeZ (float) - Noise size along Z (value >= 0.01).

setFogRangeDistance(near)

 

Deprecated. Use vrCameraService.getActiveCamera().setDistanceFogRange(near) instead.

Sets where distance-fog begins.

Parameters:
  • near (float) - Distance from camera where the fog begins.

setFogRangeHeight(min, max)

 

Deprecated. Use vrCameraService.getActiveCamera().setHeightFogRange(QVector2D(min, max) instead.

Sets where height-fog begins and where it ends.

Parameters:
  • min (float) - Height from ground where the fog begins.
  • max (float) - Height from ground where the fog ends. Must be greater than min.

setGlare(on)

 

Deprecated. Use vrCameraService.getActiveCamera().setGlare(on) instead.

Enables/disables glare for the current camera.

Parameters:
  • on (bool) - true/false

setGlow(on)

 

Deprecated. Use vrCameraService.getActiveCamera().setGlow(on) instead.

Enables/disables glow for the current camera.

Parameters:
  • on (bool) - true/false

setLeftEyeBlendingMap(file, activate)

 

Deprecated. Use vrCameraService.getActiveCamera().loadBlendMap(file, vrCameraTypes.CameraEye.CameraLeftEye) instead.

Sets and enables/disables the blending map for the left eye of the active camera.

Parameters:
  • file (string) - BlendingMap file.
  • activate (bool) - Enables/Disables left eye blending.

setLensFlare(on)

 

Deprecated. Use vrCameraService.getActiveCamera().setLensFlare(on) instead.

Enables/disables lens flares for the current camera.

Parameters:
  • on (bool) - true/false

setMotionBlur(on)

 

Deprecated. Use vrCameraService.getActiveCamera().setMotionBlur(on) instead.

Enables/disables motion blur for the current camera.

Parameters:
  • on (bool) - true/false

setNavigatorMode(mode)

 

Sets the current navigator mode (0: fly, 1: trackball, 2: axis, 3: none, 4: orientation).

Parameters:
  • mode (unsigned int) - Navigator mode.

setRightEyeBlendingMap(file, activate)

 

Deprecated. Use vrCameraService.getActiveCamera().loadBlendMap(file, vrCameraTypes.CameraEye.CameraRightEye) instead.

Sets and enables/disables the blending map for the right eye of the active camera.

Parameters:
  • file (string) - BlendingMap file.
  • activate (bool) - Enables/Disables right eye blending.

setViewPoint(name)

 

Deprecated. Use vrCameraService.getViewpoint(name).setToCurrentView() instead.

Recaptures a viewpoint via name.

Parameters:
  • name (string) - The name of the viewpoint.

setViewpointCreationMode(mode)

 

Deprecated. Use vrCameraService.setViewpointCreationMode(mode) instead.

Sets how a new viewpoint is created when using head-tracking (e.g. with a HMD in VR). Available modes are: 0 (IgnoreTrackingMatrix), 1 (IncludeTrackingMatrix).

With IncludeTrackingMatrix (default) the head-tracked view is stored in the viewpoint.

With IgnoreTrackingMatrix, the current camera transformation without tracking is stored in the viewpoint.

Affects viewpoints created in the GUI and with Python API, including viewpoints created by capturing a variant set.

Parameters:
  • mode (unsigned int) - 0 (IgnoreTrackingMatrix), 1 (IncludeTrackingMatrix).

setWhitepoint(whitepoint, name)

 

Deprecated. Use vrCameraService.getActiveCamera().getTonemapper().setWhitePoint(whitepoint) or vrCameraService.getCamera(name).getTonemapper().setWhitePoint(whitepoint) instead.

Sets the whitepoint of the active camera. Alternatively, the name of a specific camera can be provided.

Parameters:
  • whitepoint (float) - The whitepoint.
  • name (string) - The name of the camera (Optional).

viewpointAnim(name)

 

Deprecated. Use vrCameraService.getViewpoint(name).activate(False, True) instead.

Animates to a viewpoint via name. The function waits until animation is finished.

Parameters:
  • name (string) - The name of the viewpoint.