GPUDOFSettings(bpy_struct)

base class — bpy_struct

class bpy.types.GPUDOFSettings(bpy_struct)

Settings for GPU based depth of field

blades

Blades for dof effect

Type:int in [0, 16], default 0
focal_length

Focal length for dof effect

Type:float in [1, inf], default 0.0
focus_distance

Viewport depth of field focus distance

Type:float in [0, inf], default 0.0
fstop

F-stop for dof effect

Type:float in [0, inf], default 128.0
ratio

Distortion to simulate anamorphic lens bokeh

Type:float in [0.01, inf], default 1.0
rotation

Rotation of blades in aperture

Type:float in [-3.14159, 3.14159], default 0.0
sensor

Size of sensor

Type:float in [1, inf], default 0.0
classmethod bl_rna_get_subclass(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The RNA type or default when not found.
Return type:bpy.types.Struct subclass
classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The class or default when not found.
Return type:type

Inherited Properties

Inherited Functions

References