Method Do
Do(T, float, Color, int)
Draws a 3D mesh from a spline.
Declaration
public void Do(T spline, float size, Color color, int resolution = 10)
Parameters
Type | Name | Description |
---|---|---|
T | spline | The target spline. |
float | size | The width to use for the spline mesh. |
Color | color | The color to use for the spline mesh in normal mode. |
int | resolution | The resolution to use for the mesh, defines the number of segments per unit with default value of DrawResolutionDefault. |
Do(int, T, float, Color, int)
Draws a 3D mesh handle from a spline.
Declaration
public void Do(int controlID, T spline, float size, Color color, int resolution = 10)
Parameters
Type | Name | Description |
---|---|---|
int | controlID | The spline mesh controlID. |
T | spline | The target spline. |
float | size | The width to use for the spline mesh. |
Color | color | The color to use for the spline mesh in normal mode. |
int | resolution | The resolution to use for the mesh, defines the number of segments per unit with default value of DrawResolutionDefault. |
Do(T, float, int)
Draws a 3D mesh from a spline.
Declaration
public void Do(T spline, float size, int resolution = 10)
Parameters
Type | Name | Description |
---|---|---|
T | spline | The target spline. |
float | size | The width to use for the spline mesh. |
int | resolution | The resolution to use for the mesh, defines the number of segments per unit with default value of DrawResolutionDefault. |
Do(int, T, float, int)
Draws a 3D mesh handle from a spline.
Declaration
public void Do(int controlID, T spline, float size, int resolution = 10)
Parameters
Type | Name | Description |
---|---|---|
int | controlID | The spline mesh controlID. |
T | spline | The target spline. |
float | size | The width to use for the spline mesh. |
int | resolution | The resolution to use for the mesh, defines the number of segments per unit with default value of DrawResolutionDefault. |