maxon.GradientRenderDataInterface¶
Description¶
Methods Signature¶
  | 
Calculates a gradient pixel.  | 
  | 
Compares this with another GradientRenderData value.  | 
Gets the checksum of the gradient render data.  | 
|
  | 
Gets a pointer to the knot at #index.  | 
Gets the number of knots for GetRenderKnot()  | 
|
  | 
Gets a read only reference to internal knot list for fast access.  | 
Methods Definition¶
- 
GradientRenderDataInterface.CalcGradientPixel(pos)¶ Calculates a gradient pixel.
- Parameters
 pos (float) – The X position.
- Returns
 The calculated gradient pixel.
- Return type
 
- 
GradientRenderDataInterface.Compare(arg2)¶ Compares this with another GradientRenderData value.
- Parameters
 arg2 (
maxon.GradientRenderDataInterface) – The other GradientRenderData value to compare with.- Returns
 The comparison result.
- Return type
 maxon.COMPARERESULT
- 
GradientRenderDataInterface.GetHashCode()¶ Gets the checksum of the gradient render data.
- Returns
 The checksum of the gradient render data.
- Return type
 int
- 
GradientRenderDataInterface.GetKnot(index)¶ Gets a pointer to the knot at #index.
- Parameters
 index (int) – The knot index. 0 <= #index < GetKnotCount()
- Returns
 The render knot at #index.
- Return type
 
- 
GradientRenderDataInterface.GetKnotCount()¶ Gets the number of knots for GetRenderKnot()
- Returns
 The render knot count.
- Return type
 int
- 
GradientRenderDataInterface.GetKnots()¶ Gets a read only reference to internal knot list for fast access.
- Returns
 The knot list.
- Return type