maxon.GradientRenderDataInterface

Description

Inheritance diagram

Inheritance

Child Class:

Methods Signature

CalcGradientPixel(pos)

Calculates a gradient pixel.

Compare(arg2)

Compares this with another GradientRenderData value.

GetHashCode()

Gets the checksum of the gradient render data.

GetKnot(index)

Gets a pointer to the knot at #index.

GetKnotCount()

Gets the number of knots for GetRenderKnot()

GetKnots()

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

maxon.Color

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

maxon.GradientKnot

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

maxon.BaseArray [maxon.GradientKnot]