Home > composition-plot > MultidimensionalPlot > setCamera
Set a specific vtkCamera object to be used
This is useful if there are multiple composition plots that need to have their camera sychronized
Signature:
setCamera(camera: any, resetCamera?: boolean, watchModified?: boolean): void;
Parameter | Type | Description |
---|---|---|
camera | any | The vtkCamera object to be used (can be shared) |
resetCamera | boolean | Reset the camera zoom to include the whole scene |
watchModified | boolean | Whether to re-render each time the camera object is modified |
Returns:
void