Gradient Datatype

About

  • Header File: xtensions/description/dgradient.h

  • Description Category: Datatypes.

Parameters

Parameters are accessed with C4DAtom.GetParameter()/C4DAtom.SetParameter().


Parameter: Interpolation

  • Parameter ID: c4d.GRADIENTSUBCHANNEL_INTERPOLATION

  • Parameter Type: int

  • Cycle Values:
    • Smooth (c4d.GRADIENTSUBCHANNEL_INTERPOLATION_SMOOTHKNOT)

    • Cubic (c4d.GRADIENTSUBCHANNEL_INTERPOLATION_CUBICKNOT)

    • Linear (c4d.GRADIENTSUBCHANNEL_INTERPOLATION_LINEARKNOT)

    • Step (c4d.GRADIENTSUBCHANNEL_INTERPOLATION_NONE)

    • Blend (c4d.GRADIENTSUBCHANNEL_INTERPOLATION_BLEND)

    • Exponent Up (legacy) (c4d.GRADIENTSUBCHANNEL_INTERPOLATION_EXP_UP)

    • Exponent Down (legacy) (c4d.GRADIENTSUBCHANNEL_INTERPOLATION_EXP_DOWN)