maxon.GradientKnot¶
Description¶
General 
maxon.Data class.An object of this class can store every type of data as long as that type has been registered
(see 
maxon.DataType).Attributes¶
(float) Bias.  | 
|
(float) Brightness.  | 
|
(  | 
|
(Int32) Knot ID in GradientInterface, knot index in GradientRenderDataInterface.  | 
|
(float) Position.  | 
Methods Signature¶
  | 
Initializes the appropriate C++ Data object and store it within the _data member.  | 
  | 
Returns the string representation of a data.  | 
Methods Definition¶
- 
GradientKnot.__init__(otherOrColor=maxon.Color64 object at 0x2f86d4053a0 with the data: R:1.0, G:1.0, B:1.0, brightness=1.0, pos=0.0, bias=0.5, index=0, interpolation=2)¶ Initializes the appropriate C++ Data object and store it within the _data member.
If C is a Data then _data store a copy the C++ Data is done and stored.If C is a C++ Data then _data store a reference of the C++ Data.If C is not defined the C++ data is created and stored in the _data member.- Parameters
 C (Optional[
maxon.Data]) – Input data from which the Data should be created.
- 
GradientKnot.__str__()¶ Returns the string representation of a data.
- Return type
 str