ColorRampElements(bpy_struct)

base class — bpy_struct

class bpy.types.ColorRampElements(bpy_struct)

Collection of Color Ramp Elements

new(position)

Add element to ColorRamp

Parameters:position (float in [0, 1]) – Position, Position to add element
Returns:New element
Return type:ColorRampElement
remove(element)

Delete element from ColorRamp

Parameters:element (ColorRampElement, (never None)) – Element to remove

Inherited Properties

Inherited Functions

References

Previous topic

ColorRampElement(bpy_struct)

Next topic

ColorSequence(EffectSequence)