Scripting API: GL.Color - Unity
文章推薦指數: 80 %
In OpenGL this matches glColor4f(c.r,c.g,c.b,c.a) ; on other graphics APIs the same functionality is emulated. In order for per-vertex colors to work ... Version:2020.3SupportedLegacy LanguageEnglish English C#
延伸文章資訊
- 1Scripting API: GL.Color - Unity
In OpenGL this matches glColor4f(c.r,c.g,c.b,c.a) ; on other graphics APIs the same functionality...
- 2Unity3D遊戲編程經驗之頂點顏色的用法- 每日頭條
在Unity3D遊戲編程的過程中,相信很多人都會在設置頂點顏色的時候出現問題, ... GL.Begin(GL.LINES);. GL.Color(Color.red);. GL.Vertex3...
- 3Scripting API: GL - Unity
GL immediate drawing functions use whatever is the "current material" set up right now (see ... P...
- 4GL-Color - Unity 脚本API
public static void Color (Color c);. 描述. 设置当前顶点颜色。 在OpenGL 中,这与 glColor4f(c.r,c.g,c.b,c.a) 相匹配;在其...
- 5Why my GL.Color doesn't work? - Unity Answers
And i wanna to use a different color to draw the line, so i use GL.Color(Color.yellow), but it se...