Camera
- class dazpy.DazCamera(client, identifier)[source]
Bases:
DazNodeProxy for a
DzCameranode.Extends
DazNodewith optical and image-sensor properties.- property lens_shift_x: float | None
Horizontal lens shift in millimetres (read/write).
Confirmed against a live instance: backed by
DzCamera’s “Lens Shift X (mm)” property (getLensShiftXControl()), the same value the render engine uses – needed to match depth-based effects (fog, DOF-driven line weight) to the actual render.
- property lens_shift_y: float | None
Vertical lens shift in millimetres (read/write).
See
lens_shift_x.
- property f_stop: float | None
Aperture / f-stop – controls depth-of-field blur intensity (read/write).
Confirmed against a live instance: backed by
DzCamera’s “F/Stop” property (property nameAperature– note the engine’s own spelling – viagetFStopControl()). Only affects the render whendepth_of_fieldis enabled; lower values (wider aperture) produce stronger blur.
- property aperture_blades: int | None
Bokeh blade count (read/write).
Confirmed against a live instance: backed by
DzCamera’s “Aperture Blades” property (getApertureNumBladesControl()).0produces a circular bokeh; 3+ produces a polygonal bokeh with that many sides.
- property aperture_blade_rotation: float | None
Bokeh polygon rotation angle in degrees (read/write).
Confirmed against a live instance: backed by
DzCamera’s “Aperture Blade Rotation” property (getApertureBladeRotationAngleControl()). Only visible in the render whenaperture_bladesis 3 or greater.