LineStyleColorModifier_DistanceFromObject(LineStyleColorModifier)

base classes — bpy_struct, LineStyleModifier, LineStyleColorModifier

class bpy.types.LineStyleColorModifier_DistanceFromObject(LineStyleColorModifier)

Change line color based on the distance from an object

blend

Specify how the modifier value is blended into the base value

Type:

enum in Ramp Blend Items, 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

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

target

Target object from which the distance is measured

Type:

Object

type

Type of the modifier

Type:

enum in Linestyle Color Modifier Type Items, 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 (str) – 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 (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions