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

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
init(context)

Inherited Properties

Inherited Functions

Previous topic

ShaderNodeTexEnvironment(ShaderNode)

Next topic

ShaderNodeTexImage(ShaderNode)