ShaderNodeTexGradient(ShaderNode)

base classes — bpy_struct, Node, NodeInternal, ShaderNode

class bpy.types.ShaderNodeTexGradient(ShaderNode)
color_mapping

Color mapping settings

Type:ColorMapping, (readonly, never None)
gradient_type

Style of the color blending

  • LINEAR Linear, Create a linear progression.
  • QUADRATIC Quadratic, Create a quadratic progression.
  • EASING Easing, Create a progression easing from one step to the next.
  • DIAGONAL Diagonal, Create a diagonal progression.
  • SPHERICAL Spherical, Create a spherical progression.
  • QUADRATIC_SPHERE Quadratic sphere, Create a quadratic progression in the shape of a sphere.
  • RADIAL Radial, Create a radial progression.
Type:enum in [‘LINEAR’, ‘QUADRATIC’, ‘EASING’, ‘DIAGONAL’, ‘SPHERICAL’, ‘QUADRATIC_SPHERE’, ‘RADIAL’], default ‘LINEAR’
texture_mapping

Texture coordinate mapping settings

Type:TexMapping, (readonly, never None)
classmethod is_registered_node_type()

True if a registered node type

Returns:Result
Return type:boolean
classmethod input_template(index)

Input socket template

Parameters:index (int in [0, inf]) – Index
Returns:result
Return type:NodeInternalSocketTemplate
classmethod output_template(index)

Output socket template

Parameters:index (int in [0, inf]) – Index
Returns:result
Return type:NodeInternalSocketTemplate

Inherited Properties

Inherited Functions