CameraPosition
Camera position based on rotations about a pivot point. Used to define a camera preset in the AnimateCameraPreset layer.
Category: Modules
Base class: Resource
Subclasses: VirtualCameraPosition
Properties
distance_to_pivot : float
The distance between the camera and the pivot point.
UserName: Distance to pivot
elevation : float
Elevation of the camera position in degrees.
UserName: Elevation
heading : float
The heading of the camera in degrees
UserName: Heading
pivot : Vec
The pivot point (centre of rotation) of the camera.
UserName: Pivot
roll : float
Roll angle of the camera in degrees.
UserName: Roll
view_angle : float
The view angle of the camera in degrees.
UserName: Field of view
virtual_camera_coordinates : int
Apply virtual camera position and rotation offsets relative to original camera, or in global coordinate space.
Options: {0: ‘Relative’, 1: ‘Global’}
UserName: Virtual camera coordinates
virtual_camera_position : Vec
Virtual camera position.
virtual_camera_rotation : Vec
The virtual camera rotation.
virtual_camera_zoom : float
Gain applied to focal length of camera to give virtual zoom in or out.
UserName: Virtual camera zoom
Methods
getViewPos(self)
Updates the view position members from the visualiser camera
This method updates the instances position and attitude variables from the current active visualiser camera.