摘要: 题目是这样的: Observe that its base and height are both equal to , and the image is drawn using # symbols and spaces. The last line is not preceded by any s 阅读全文
posted @ 2018-12-28 19:00 _清风明月 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 需要播放淡入效果时,在外部调用该类的StartFadeIn方法;需要播放淡出效果时,在外部调用该类的StartFadeOut方法。 阅读全文
posted @ 2018-12-28 15:55 _清风明月 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 1.新建一个空物体,命名为parent设置坐标为(3, 0, 0) 2.在parent下新建一个cube,设置坐标为(3, 0, 0) 给cube添加一个Test脚本,在Start方法里添加如下代码 运行输出结果为: transform.position(6.0,0.0,0.0) transform 阅读全文
posted @ 2018-12-28 12:21 _清风明月 阅读(1762) 评论(0) 推荐(0) 编辑
摘要: POSITION: 获取模型顶点的信息。NORMAL: 获取法线信息TEXCOORD(n): 高精度的从顶点传递信息到片段着色器COLOR: 表示低精度从顶点传递信息到片段着色器TANGENT: 获取切线信息。SV_POSITION: 表示经过mvp矩阵已经转化到屏幕坐标系SV_TARGET: 输出 阅读全文
posted @ 2018-12-28 11:27 _清风明月 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1.语法 SetTexture [TextureName] {Texture Block} 2.Texture block combine 命令 combine src1 * src2 越乘越暗 combine src1 + src2 越加越亮 combine src1 lerp(src2) src 阅读全文
posted @ 2018-12-28 10:33 _清风明月 阅读(1784) 评论(0) 推荐(0) 编辑