cesium 关于feature的知识点

mac2024-03-24  30

feature的数据结构类似这样: pickedFeature:

r {_content: T, _batchId: 15, _color: s} _batchId: 15 _color: s {red: 1, green: 0.09803921568627451, blue: 0.09803921568627451, alpha: 1} _content: T {_tileset: W, _tile: B, _resource: R, _model: Te, _batchTable: L, …} color: (…) content: (…) pickId: (…) primitive: (…) show: (…) tileset: (…) proto: Object feature的属性及方法: Feature.color = Cesium.Color.fromRandom(); // 获取当前选中实体的所有属性名的数组。 var propertyNames = pickedFeature.getPropertyNames(); pickedFeature.getProperty(propertyName)

最新回复(0)