Package bpy :: Module types :: Class CompositorNodeDefocus
[hide private]
[frames] | no frames]

Class CompositorNodeDefocus


The Defocus Object

(no references to this struct found)

Instance Variables [hide private]
int in [0, 90] angle
Bokeh shape rotation offset in degrees
enum bokeh
Bokeh Type in...
float in [0, 128] f_stop
Amount of focal blur, 128=infinity=perfect focus, half the value doubles the blur radius
boolean gamma_correction
Enable gamma correction before and after main process
Collection of NodeSocket (readonly) inputs
Inputs (Inherited from bpy.types.Node)
float array of 2 items in [-10000, 10000] location
Location (Inherited from bpy.types.Node)
float in [0, 10000] max_blur
blur limit, maximum CoC radius, 0=no limit
string name
Node name. (Inherited from bpy.types.Node)
Collection of NodeSocket (readonly) outputs
Outputs (Inherited from bpy.types.Node)
boolean preview
Enable sampling mode, useful for preview when using low samplecounts
int in [16, 256] samples
Number of samples (16=grainy, higher=less noise)
float in [0, 100] threshold
CoC radius threshold, prevents background bleed on in-focus midground, 0=off
enum (readonly) type
Type in... (Inherited from bpy.types.CompositorNode)
boolean use_zbuffer
Disable when using an image as input instead of actual zbuffer (auto enabled if node not image based, eg.
float in [0, 1000] z_scale
Scales the Z input when not using a zbuffer, controls maximum blur designated by the color white or input value 1
Instance Variable Details [hide private]

bokeh

Bokeh Type in...
  • OCTAGON
  • HEPTAGON
  • HEXAGON
  • PENTAGON
  • SQUARE
  • TRIANGLE
  • CIRCLE
Type:
enum

use_zbuffer

Disable when using an image as input instead of actual zbuffer (auto enabled if node not image based, eg. time node)
Type:
boolean