LineStyleColorModifier_DistanceFromCamera(LineStyleColorModifier)

base classes — bpy_struct, LineStyleModifier, LineStyleColorModifier

class bpy.types.LineStyleColorModifier_DistanceFromCamera.LineStyleColorModifier_DistanceFromCamera(LineStyleColorModifier)

Change line color based on the distance from the camera

blend

Specify how the modifier value is blended into the base value

Type

enum in [‘MIX’, ‘DARKEN’, ‘MULTIPLY’, ‘BURN’, ‘LIGHTEN’, ‘SCREEN’, ‘DODGE’, ‘ADD’, ‘OVERLAY’, ‘SOFT_LIGHT’, ‘LINEAR_LIGHT’, ‘DIFFERENCE’, ‘SUBTRACT’, ‘DIVIDE’, ‘HUE’, ‘SATURATION’, ‘COLOR’, ‘VALUE’], default ‘MIX’

color_ramp

Color ramp used to change line color

Type

ColorRamp, (readonly)

expanded

True if the modifier tab is expanded

Type

boolean, default False

influence

Influence factor by which the modifier changes the property

Type

float in [0, 1], default 0.0

name

Name of the modifier

Type

string, default “”, (never None)

range_max

Upper bound of the input range the mapping is applied

Type

float in [-inf, inf], default 0.0

range_min

Lower bound of the input range the mapping is applied

Type

float in [-inf, inf], default 0.0

type

Type of the modifier

Type

enum in [‘ALONG_STROKE’, ‘CREASE_ANGLE’, ‘CURVATURE_3D’, ‘DISTANCE_FROM_CAMERA’, ‘DISTANCE_FROM_OBJECT’, ‘MATERIAL’, ‘NOISE’, ‘TANGENT’], default ‘ALONG_STROKE’, (readonly)

use

Enable or disable this modifier during stroke rendering

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

  • bpy_struct.id_data

Inherited Functions

  • bpy_struct.as_pointer

  • bpy_struct.driver_add

  • bpy_struct.driver_remove

  • bpy_struct.get

  • bpy_struct.is_property_hidden

  • bpy_struct.is_property_overridable_library

  • bpy_struct.is_property_readonly

  • bpy_struct.is_property_set

  • bpy_struct.items

  • bpy_struct.keyframe_delete

  • bpy_struct.keyframe_insert

  • bpy_struct.keys

  • bpy_struct.path_from_id

  • bpy_struct.path_resolve

  • bpy_struct.pop

  • bpy_struct.property_overridable_library_set

  • bpy_struct.property_unset

  • bpy_struct.type_recast

  • bpy_struct.values

  • LineStyleModifier.bl_rna_get_subclass

  • LineStyleModifier.bl_rna_get_subclass_py

  • LineStyleColorModifier.bl_rna_get_subclass

  • LineStyleColorModifier.bl_rna_get_subclass_py