pyvista.CameraPosition#

class CameraPosition(position, focal_point, viewup)[source]#

Container to hold camera location attributes.

Parameters:
positionsequence[float]

Position of the camera.

focal_pointsequence[float]

The focal point of the camera.

viewupsequence[float]

View up of the camera.

Methods

CameraPosition.to_list()

Convert to a list of the position, focal point, and viewup.

Attributes

CameraPosition.focal_point

Location of the camera's focus in world coordinates.

CameraPosition.position

Location of the camera in world coordinates.

CameraPosition.viewup

Viewup vector of the camera.