ThemeGradientColors(bpy_struct)#

base class — bpy_struct

class bpy.types.ThemeGradientColors(bpy_struct)#

Theme settings for background colors and gradient

background_type#

Type of background in the 3D viewport

  • SINGLE_COLOR Single Color – Use a solid color as viewport background.

  • LINEAR Linear Gradient – Use a screen space vertical linear gradient as viewport background.

  • RADIAL Vignette – Use a radial gradient as viewport background.

Type:

enum in [‘SINGLE_COLOR’, ‘LINEAR’, ‘RADIAL’], default ‘SINGLE_COLOR’

gradient#
Type:

mathutils.Color of 3 items in [0, 1], default (0.0, 0.0, 0.0)

high_gradient#
Type:

mathutils.Color of 3 items in [0, 1], default (0.0, 0.0, 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