Свойство | Тип | Описание | |
---|---|---|---|
_controlPoints | List |
Метод | Описание | |
---|---|---|
AddControlPoint ( ControlPoint point ) : void |
Adds a control point to the curve. No two control points have the same input value. @throw System.ArgumentException if two control points have the same input value. It does not matter which order these points are added.
|
|
AddControlPoint ( float input, float output ) : void |
Adds a control point to the curve. No two control points have the same input value. @throw System.ArgumentException if two control points have the same input value. It does not matter which order these points are added.
|
|
ClearControlPoints ( ) : void |
Deletes all the control points on the curve.
|
|
CountControlPoints ( ) : int |
Return the size of the ControlPoint list
|
|
Curve ( ) : System | ||
Curve ( IModule source ) : System | ||
GetValue ( float x, float y, float z ) : float |
Generates an output value given the coordinates of the specified input value.
|
|
getControlPoints ( ) : IList |
Returns a read-only IList
|
Метод | Описание | |
---|---|---|
SortControlPoints ( ) : void |
|
public AddControlPoint ( ControlPoint point ) : void | ||
point | ControlPoint | |
Результат | void |
public AddControlPoint ( float input, float output ) : void | ||
input | float | The input value stored in the control point. |
output | float | The output value stored in the control point. |
Результат | void |
public GetValue ( float x, float y, float z ) : float | ||
x | float | The input coordinate on the x-axis. |
y | float | The input coordinate on the y-axis. |
z | float | The input coordinate on the z-axis. |
Результат | float |