Describe a piecewise linear NURBS trimming curve.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void PwlCurve(
IntPtr nobj,
int count,
float array,
int stride,
uint type
)
参数
- nobj
- 类型:SystemIntPtr
Specifies the NURBS object (created with gluNewNurbsRenderer). - count
- 类型:SystemInt32
Specifies the number of points on the curve. - array
- 类型:SystemSingle
Specifies an array containing the curve points. - stride
- 类型:SystemInt32
Specifies the offset (a number of single-precision floating-point values) between points on the curve. - type
- 类型:SystemUInt32
Specifies the type of curve. Must be either OpenGL.MAP1_TRIM_2 or OpenGL.MAP1_TRIM_3.
参见