LineStyleAlphaModifier_DistanceFromCamera(LineStyleAlphaModifier)

base classes — bpy_struct, LineStyleModifier, LineStyleAlphaModifier

class bpy.types.LineStyleAlphaModifier_DistanceFromCamera(LineStyleAlphaModifier)

Change alpha transparency based on the distance from the camera

blend

Specify how the modifier value is blended into the base value

Type :enum in [‘MIX’, ‘ADD’, ‘SUBTRACT’, ‘MULTIPLY’, ‘DIVIDE’, ‘DIFFERENCE’, ‘MININUM’, ‘MAXIMUM’], default ‘MIX’
curve

Curve used for the curve mapping

Type :CurveMapping, (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
invert

Invert the fade-out direction of the linear mapping

Type :boolean, default False
mapping

Select the mapping type

  • LINEAR Linear, Use linear mapping.
  • CURVE Curve, Use curve mapping.
Type :enum in [‘LINEAR’, ‘CURVE’], default ‘LINEAR’
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’, ‘DISTANCE_FROM_CAMERA’, ‘DISTANCE_FROM_OBJECT’, ‘MATERIAL’], default ‘ALONG_STROKE’, (readonly)
use

Enable or disable this modifier during stroke rendering

Type :boolean, default False

Inherited Properties

Inherited Functions

Previous topic

LineStyleAlphaModifier_AlongStroke(LineStyleAlphaModifier)

Next topic

LineStyleAlphaModifier_DistanceFromObject(LineStyleAlphaModifier)