Camera

Inheritance diagram of rumba.Camera
class Camera

The camera node.

Methods

aim()

Return the camera's aim node.

camera_transform_node()

Return the camera transform node.

remove_aim(undo_stack)

Remove the camera aim and up.

set_aim(aim, undo_stack)

Set the camera aim and up nodes.

up()

Return the camera's up node.

__init__(*args, **kwargs)
aim() Optional[Node]

Return the camera’s aim node.

Return type

Optional[Node]

camera_transform_node() Node

Return the camera transform node. Regarding the camera settings, it can be the camera itself or its parent.

Return type

Node

remove_aim(undo_stack: bool) None

Remove the camera aim and up.

set_aim(aim: Node, undo_stack: bool) None

Set the camera aim and up nodes.

Rig the camera with an AimConstraint node in order for the camera to always look at aim. {std::runtime_error,RuntimeError} if the aim node is not a SceneGraphNode node.

set_aim(aim: Node,up: Node,undo_stack: bool) -> None

Set the camera aim and up nodes.

Rig the camera with an AimConstraint node in order for the camera to always look at aim and with its up vector pointing to up. {std::runtime_error,RuntimeError} if the aim or the up nodes are not a SceneGraphNode node.

set_aim(aim: Node,undo_stack: bool) -> None

Set the camera aim and up nodes.

Rig the camera with an AimConstraint node in order for the camera to always look at aim. {std::runtime_error,RuntimeError} if the aim node is not a SceneGraphNode node.

set_aim(aim: Node,up: Node,undo_stack: bool) -> None

Set the camera aim and up nodes.

Rig the camera with an AimConstraint node in order for the camera to always look at aim and with its up vector pointing to up. {std::runtime_error,RuntimeError} if the aim or the up nodes are not a SceneGraphNode node.

up() Optional[Node]

Return the camera’s up node.

Return type

Optional[Node]