{"action":"opened","issue":{"url":"https://api.github.com/repos/LeonardoTech/JinZhiYong/issues/24","repository_url":"https://api.github.com/repos/LeonardoTech/JinZhiYong","labels_url":"https://api.github.com/repos/LeonardoTech/JinZhiYong/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/LeonardoTech/JinZhiYong/issues/24/comments","events_url":"https://api.github.com/repos/LeonardoTech/JinZhiYong/issues/24/events","html_url":"https://github.com/LeonardoTech/JinZhiYong/issues/24","id":147648657,"number":24,"title":"Goemetry","user":{"login":"OkcZhiyong","id":17697636,"avatar_url":"https://avatars.githubusercontent.com/u/17697636?v=3","gravatar_id":"","url":"https://api.github.com/users/OkcZhiyong","html_url":"https://github.com/OkcZhiyong","followers_url":"https://api.github.com/users/OkcZhiyong/followers","following_url":"https://api.github.com/users/OkcZhiyong/following{/other_user}","gists_url":"https://api.github.com/users/OkcZhiyong/gists{/gist_id}","starred_url":"https://api.github.com/users/OkcZhiyong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OkcZhiyong/subscriptions","organizations_url":"https://api.github.com/users/OkcZhiyong/orgs","repos_url":"https://api.github.com/users/OkcZhiyong/repos","events_url":"https://api.github.com/users/OkcZhiyong/events{/privacy}","received_events_url":"https://api.github.com/users/OkcZhiyong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-12T06:42:36Z","updated_at":"2016-04-12T06:42:36Z","closed_at":null,"body":"- Geometry 类中包含一个叫setColorBinding()的函数，参数有BIND_PER_PRIMITIVE_SET，BIND_PER_VERTEX， BIND_OVERALL, BIND_OFF。\r\n\r\n- 其中BIND_PER_PRIMITIVE_SET是每创建一个几何体设置一个颜色，效果是整个几何体就一个颜色\r\n\r\n- BIND_PER_VERTEX是创建一个顶点设置一个颜色，效果是定顶点的颜色向中心扩散\r\n\r\n- BIND_OVERALL是整个Geometry使用同一个颜色，\r\n\r\n- BIND_OFF是不绑定颜色，保持默认的颜色（白色）\r\n"}}