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
-
remove
(element)¶ Delete element from ColorRamp
- Parameters
element (
ColorRampElement
, (never None)) – Element to remove
-
classmethod
bl_rna_get_subclass
(id, default=None)¶ - Parameters
id (string) – The RNA type identifier.
- Returns
The RNA type or default when not found.
- Return type
bpy.types.Struct
subclass
-
classmethod
bl_rna_get_subclass_py
(id, default=None)¶ - Parameters
id (string) – The RNA type identifier.
- Returns
The class or default when not found.
- Return type
type
-
Inherited Properties
Inherited Functions
References