ShaderNodeTexGradient(ShaderNode)

base classes — bpy_struct, Node, ShaderNode

class bpy.types.ShaderNodeTexGradient(ShaderNode)
color_mapping

Color mapping settings

Type :ColorMapping, (readonly, never None)
gradient_type

Sets the style of the color blending

  • LINEAR Linear, Creates a linear progression.
  • QUADRATIC Quadratic, Creates a quadratic progression.
  • EASING Easing, Creates a progression easing from one step to the next.
  • DIAGONAL Diagonal, Creates a diagonal progression.
  • SPHERICAL Spherical, Creates a spherical progression.
  • QUADRATIC_SPHERE Quadratic sphere, Creates a quadratic progression in the shape of a sphere.
  • RADIAL Radial, Creates 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)

Inherited Properties

Inherited Functions

Previous topic

ShaderNodeTexEnvironment(ShaderNode)

Next topic

ShaderNodeTexImage(ShaderNode)