常量
SimplePoint 形状枚举
通过 simplePoint.shapeType = PointShapeType.STAR 或构造参数 {shapeType: PointShapeType.STAR} 使用。 枚举值与 fragment shader 内部 uniform 数值对应,shader 据此选择渲染分支。
simplePoint.shapeType = PointShapeType.STAR
{shapeType: PointShapeType.STAR}
import {SimplePoint, PointShapeType} from '@baidu/mapv-three';const point = new SimplePoint({ shapeType: PointShapeType.STAR, size: 16, color: '#d340c3',}); 复制
import {SimplePoint, PointShapeType} from '@baidu/mapv-three';const point = new SimplePoint({ shapeType: PointShapeType.STAR, size: 16, color: '#d340c3',});
SimplePoint 形状枚举
通过
simplePoint.shapeType = PointShapeType.STAR或构造参数{shapeType: PointShapeType.STAR}使用。 枚举值与 fragment shader 内部 uniform 数值对应,shader 据此选择渲染分支。