Plotter.view_vector#
- Plotter.view_vector(
- vector: VectorLike[float],
- viewup: VectorLike[float] | None = None,
- *,
- render: bool = True,
- bounds: VectorLike[float] | None = None,
Point the camera in the direction of the given vector.
- Parameters:
- vectorsequence[
float] Direction to point the camera in.
- viewupsequence[
float],optional Sequence describing the view up of the camera.
- renderbool, default:
True If the render window is being shown, trigger a render after setting the camera position.
- boundsiterable(
int),optional Automatically set up the camera based on a specified bounding box
(x_min, x_max, y_min, y_max, z_min, z_max).
- vectorsequence[
Used In#
API Examples
Light.attenuation_values(1 use)
Gallery Examples