UserSolidLight(bpy_struct)

base class — bpy_struct

class bpy.types.UserSolidLight(bpy_struct)

Light used for OpenGL lighting in solid draw mode

diffuse_color

Diffuse color of the OpenGL light

Type:float array of 3 items in [0, inf], default (0.0, 0.0, 0.0)
direction

Direction that the OpenGL light is shining

Type:float array of 3 items in [-inf, inf], default (0.0, 1.0, 0.0)
specular_color

Color of the light’s specular highlight

Type:float array of 3 items in [0, inf], default (0.0, 0.0, 0.0)
use

Enable this OpenGL light in solid draw mode

Type:boolean, default False
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