vc-measurements组件绘制了多个面,怎样子动态设置每个面的颜色属性? #471
Unanswered
2452615812
asked this question in
Q&A
Replies: 1 comment
-
参考一下 #206 拿到renderDatas去改 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
vc-measurements组件绘制了多个面,这些面的坐标数据都存在areaMeasurementOpts的preRenderDatas内后,想自定义这些面的颜色属性,areaMeasurementOpts.polygonOpts.appearance.options.material.fabric.uniforms.color= colorHextoRGB(“409EFF”);
areaMeasurementOpts.primitiveOpts.appearance.options.material.fabric.uniforms.color= “409EFF”; 这样写所有面都被修改了,单独修改一个面的颜色,该怎么做?
Beta Was this translation helpful? Give feedback.
All reactions