指定区域和高度裁剪掉高度之上的内容
Name | Type | Description |
---|---|---|
ys |
YouScene | YouScene实例 |
i3d |
I3d | 3d对象 |
points |
Array.<XY> | 多边形的边线点数组,单位是模型坐标单位 |
- Implements:
Example:
var shader2 = new YS.AreaHeightPolygonCutTopShader(that.ys, that.scene, polygon);//polygon是模型坐标数组
shader2.update(1900);//裁剪高度之上的内容
Methods
-
指定区域和高度裁剪掉高度之上的内容,调整裁剪高度z时使用
Name Type Description z
float optional 压平后z值,模型坐标 - Implements: