Summary
Methods:
fromPoints |
根据网格模型控制点,创建网格模型 |
clone |
克隆一个立体面 |
getId |
获取立体面对象的id。 |
Constructor
new StretchMesh(options)
Parameters:
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | 可选项
|
Example
let stretchMesh = new hmap.model.StretchMesh(options)
Methods
-
static fromPoints(points, material) → {module:model~StretchMesh}
-
根据网格模型控制点,创建网格模型
Parameters:
Name Type Description points
module:geom~Point 点几何数组
material
module:style~Material 材质
-
clone() → {module:model~StretchMesh}
-
克隆一个立体面
-
getId() → {String}
-
获取立体面对象的id。
Returns:
String -返回立体面对象的id