javascript - Remove vertical grid lines gridHelper Three.js
问题描述
I'm using gridHelper but I need to remove the vertical lines (only need the horizontal ones), is there a way to do it?
This is my current implementation (I'm using r3f)
<gridHelper args={[50, 6, 'black`, `black`]} position={[0,-3,0]} />
Constructor
GridHelper( size : number, divisions : Number, colorCenterLine : Color, colorGrid : Color )
There is no options to enable or disable vertical lines, also following documentation I cant see it.
解决方案
推荐阅读
- ios - 在 Apple Store 上为公司分发 iOS 应用程序
- python - 从行中提取特定列并合并列
- corda - 使用 Corda OS RPC 客户端连接到 Corda Enterprise 节点
- php - 我有一个表图像和album_images。不需要album_images 表吗?
- css - 如何使用引导程序将 div 稍微放在图像上
- java - 如何使用 Java Optional 来防止读取未初始化的数组?
- symfony - 在更新另一个实体的同时创建一个实体
- c++ - C++ 重载 | 返回常量值的(按位或)运算符
- circleci-2.0 - circleci 过滤器分支不工作
- python - 让烧瓶应用程序中的两个页面使用相同的 html 是不好的做法吗?