Yotsuba Games

Gradient

Generates a linear or radial gradient image

intermediate
Since P00

Input Ports

Color A

Color A input for Gradient.

Color
Color B

Color B input for Gradient.

Color

Output Ports

Image

Image output from Gradient.

Image

Parameters

NameTypeDefaultDescription
ModeEnum`Linear`Controls the mode setting for Gradient.
WidthInt`64`Width of the generated image
HeightInt`64`Height of the generated image
Color AColorBlackControls the color a setting for Gradient.
Color BColorWhiteControls the color b setting for Gradient.
AngleAngle`0`Controls the angle setting for Gradient.
Center XFloat`0.5`Controls the center x setting for Gradient.
Center YFloat`0.5`Controls the center y setting for Gradient.
RadiusFloat`1.0`Controls the radius setting for Gradient.

Overview

Generates a linear or radial gradient image

Inputs and Outputs

Input Ports

  • Color A Color: Color A input for Gradient.
  • Color B Color: Color B input for Gradient.

Output Ports

  • Image Image: Image output from Gradient.

Key Parameters

NameTypeDefaultDescription
ModeEnum`Linear`Controls the mode setting for Gradient.
WidthInt`64`Width of the generated image
HeightInt`64`Height of the generated image
Color AColorBlackControls the color a setting for Gradient.
Color BColorWhiteControls the color b setting for Gradient.
AngleAngle`0`Controls the angle setting for Gradient.
Center XFloat`0.5`Controls the center x setting for Gradient.
Center YFloat`0.5`Controls the center y setting for Gradient.
RadiusFloat`1.0`Controls the radius setting for Gradient.

When to Use

Use Gradient when you need this operation to remain explicit, reusable, and easy to tune inside a PixPipeline node graph.

Notes

Connect compatible data types and preview the result while tuning this node. Parameter names and port names follow the PixPipeline UI.