pyvista.Plotter.view_vector

pyvista.Plotter.view_vector#

Plotter.view_vector(vector, viewup=None, render=True, bounds=None) None[ソース]#

指定したベクトルの方向にカメラを向けます.

パラメータ:
vectorsequence[float]

カメラを向ける方向.

viewupsequence[float], optional

カメラのビューアップを記述するシーケンス.

renderbool, default: True

レンダーウィンドウが表示されている場合は,カメラ位置を設定した後にレンダーをトリガーします.

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).