# SlopePrimitive

#### new Cesium.SlopePrimitive(options)
MapGIS/SlopePrimitive.js 49

Name | Type | Description
--- | --- | ---

`options`

Object

Name | Type | Description
--- | --- | ---
`viewer` | Object | 视图对象
`positions` | Number | optional 顶点集
`positionIndex` | Number | optional 顶点索引
`color` | Number | optional 顶点色
`arrayIndex` | Number | optional 分类索引
`alpha` | Number | optional 初始化半透明参数
`isLightSlope` | Number | optional 开启高亮
`lightSlop` | Number | optional 坡度分类高亮序号
`lightColor` | Number | optional 坡度高亮颜色

### Methods

#### add()
MapGIS/SlopePrimitive.js 169

加入渲染队列

#### remove()
MapGIS/SlopePrimitive.js 176

移出渲染队列