class_docstr: A :class:`Camera` that uses perspective projection.
  
  Args:
    focal_length (float): The focal length of the camera lens in `mm`. `Default
      = 50`
    sensor_width (float): Horizontal size of the camera sensor in `mm`. `Default
      = 36`
    shift_x (float): Principal point horizontal offset defined as fraction of
      sensor width. `Default = 0.0`
    shift_y (float): Principal point vertical offset defined as fraction of
      sensor height. `Default = 0.0`
class_docstr_tok: ["A",":","class",":","`","Camera","`","that","uses","perspective","projection",".","Args",":","focal_length","(","float",")",":","The","focal","length","of","the","camera","lens","in","`","mm","`",".","`","Default","=","50","`","sensor_width","(","float",")",":","Horizontal","size","of","the","camera","sensor","in","`","mm","`",".","`","Default","=","36","`","shift_x","(","float",")",":","Principal","point","horizontal","offset","defined","as","fraction","of","sensor","width",".","`","Default","=","0.0","`","shift_y","(","float",")",":","Principal","point","vertical","offset","defined","as","fraction","of","sensor","height",".","`","Default","=","0.0","`"]
code: def __init__(
      self,
      focal_length: float = 50,
      sensor_width: float = 36,
      shift_x: float = 0.0,
      shift_y: float = 0.0,
      position=(0.0, 0.0, 0.0),
      quaternion=None,
      up="Y",
      front="-Z",
      look_at=None,
      euler=None,
      **kwargs,
  ):
      super().__init__(
          focal_length=focal_length,
          sensor_width=sensor_width,
          position=position,
          quaternion=quaternion,
          up=up,
          front=front,
          look_at=look_at,
          euler=euler,
          shift_x=shift_x,
          shift_y=shift_y,
          **kwargs,
      )
  
imports: import numpy
  import traitlets
  from kubric.core.assets import UndefinedAsset
  from kubric.core import objects
  from kubric.kubric_typing import ArrayLike
label_desc: Use image node_id 1 to create a new PerspectiveCamera object from inherited base classes: Camera with example: obj = PerspectiveCamera(focal_length, sensor_width, shift_x, shift_y, position, quaternion, up, front, look_at, euler)