Stroke Width with a SceneKit line primitive type

后端 未结 2 778
没有蜡笔的小新
没有蜡笔的小新 2020-12-05 12:04

I am trying to replicate this cube image shape (with permission from the original creator) using scene kit.

\"en

2条回答
  •  心在旅途
    2020-12-05 12:42

    You can use glLineWidth to set the line width.
    Make sure to include OpenGLES in your project.

    Line Width 8

    Here's how your cube looks like with line width set to 8.

提交回复
热议问题