GL-Color - Unity 脚本API
文章推薦指數: 80 %
public static void Color (Color c);. 描述. 设置当前顶点颜色。
在OpenGL 中,这与 glColor4f(c.r,c.g,c.b,c.a) 相匹配;在其他图形API 中,对应的功能是模拟实现的 ...
Version:
2018.42021.12020.32020.22020.12019.42019.32019.22019.12018.42018.32018.22018.12017.42017.32017.22017.15.6手册脚本API语言:
中文English中文日本語Español
延伸文章資訊
- 1GL.LINES cannot switch colors - Unity Answers
LINES cannot switch colors. Currently I am using GL.Lines to create a kind of sonar vision. Unfor...
- 2Unity中GL类的使用简记_天富儿的博客-CSDN博客
Unity中GL类的使用简记代码效果图我用GL类画了两种不一样的方块。 ... PushMatrix();//保存摄像机变换矩阵Color clr = Color.green; clr.a = ...
- 3Why 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...
- 4Unity - 使用低階圖形指令GL(Low-level graphics library ... - Verv
SetPass( 0 ); //繪製線條,每兩個點一線,請給雙數點GL.Begin( GL.LINES ); GL.Color( new Color(1.0f,1.0f,1.0f,0.5f) )...
- 5Scripting API: GL.Color - Unity
In OpenGL this matches glColor4f(c.r,c.g,c.b,c.a) ; on other graphics APIs the same functionality...