Set the scale and units used to calculate depth values.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void PolygonOffset(
float factor,
float units
)
参数
- factor
- 类型:SystemSingle
Specifies a scale factor that is used to create a variable depth offset for each polygon. The initial value is 0. - units
- 类型:SystemSingle
Is multiplied by an implementation-specific value to create a constant depth offset. The initial value is 0.
参见