Свойство | Type | Description | |
---|---|---|---|
_controlPoints | List |
||
_invert | bool |
Méthode | Description | |
---|---|---|
AddControlPoint ( float input ) : 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
|
|
GetValue ( float x, float y, float z ) : float |
Generates an output value given the coordinates of the specified input value.
|
|
MakeControlPoints ( int controlPointCount ) : void |
Creates a number of equally-spaced control points that range from -1 to +1. The number of control points must be greater than or equal to 2 The previous control points on the terrace-forming curve are deleted. Two or more control points define the terrace-forming curve. The start of this curve has a slope of zero; its slope then smoothly increases. At the control points, its slope resets to zero. @throw ArgumentException if an invalid parameter was specified
|
|
Terrace ( ) : System | ||
Terrace ( IModule source ) : System | ||
Terrace ( IModule source, bool invert ) : System | ||
getControlPoints ( ) : IList |
Returns a read-only IList
|
Méthode | Description | |
---|---|---|
SortControlPoints ( ) : void |
|
public AddControlPoint ( float input ) : void | ||
input | float | The input value stored in the control point. |
Résultat | 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. |
Résultat | float |
public MakeControlPoints ( int controlPointCount ) : void | ||
controlPointCount | int | The number of control points to generate. |
Résultat | void |
public Terrace ( IModule source, bool invert ) : System | ||
source | IModule | |
invert | bool | |
Résultat | System |