摘要: 阅读全文
posted @ 2019-08-28 17:36 一叶之灵 阅读(3626) 评论(1) 推荐(1) 编辑
摘要: 1、主函数 主函数是程序的入口包含:初始化运行库、装载用户面板、显示用户面板、删除面板、关闭运行时库等操作 #include <cvirte.h> #include <userint.h> #include "温度2.h" static int panelHandle; //主函数 int main 阅读全文
posted @ 2019-08-28 17:31 一叶之灵 阅读(2731) 评论(0) 推荐(0) 编辑
摘要: 一、调整Main Camera 调整“Projection”属性为“Orthographic”; 二、C#脚本文件说明 MonoBehaviour是unity中一个非常重要的类,它定义了基本的脚本行为 Start() 函数: Start会在Update函数第一次运行之前调用并只调用一次,一般用于进行脚本的初始化操作 Update() 函数... 阅读全文
posted @ 2019-08-23 15:37 一叶之灵 阅读(1817) 评论(0) 推荐(0) 编辑
摘要: 1、基本定义 2、构建一个简单程序 阅读全文
posted @ 2019-08-23 15:33 一叶之灵 阅读(2717) 评论(0) 推荐(0) 编辑
摘要: 1.1、页面订制CSS代码 1.2 页面订制CSS代码 2、页首HTML代码 3、页脚HTML代码 参考文章: 1、https://www.cnblogs.com/hanxiaochuang666/p/11089904.html 2、https://www.cnblogs.com/wanghao18 阅读全文
posted @ 2019-08-21 13:53 一叶之灵 阅读(316) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2019-08-16 09:11 一叶之灵 阅读(452) 评论(0) 推荐(0) 编辑
摘要: namespace sharpGLTest17 { public partial class Form1 : Form { private float rotation = 0.0f; public Form1() { InitializeComponent(); } pr... 阅读全文
posted @ 2019-08-15 20:25 一叶之灵 阅读(235) 评论(0) 推荐(0) 编辑
摘要: //自动生成出现问题,推荐采用传统新建winform形式 namespace sharpGLTest16_1 { public partial class Form1 : Form { static float wrap = 0; // 用于雾的流动 SharpGL.SceneGraph.Assets.Texture[] textureAry = new SharpGL.SceneGraph.As 阅读全文
posted @ 2019-08-15 20:24 一叶之灵 阅读(231) 评论(0) 推荐(0) 编辑
摘要: namespace sharpGLTest15 { public partial class SharpGLForm : Form { float ang = 0f; SharpGL.SceneGraph.Assets.Texture[] textrue; float[] fLightPosition = new float[4]... 阅读全文
posted @ 2019-08-15 20:23 一叶之灵 阅读(213) 评论(0) 推荐(0) 编辑
摘要: namespace sharpGLTest14 { public partial class Form1 : Form { float[] fLightPosition = new float[4] { 0.0f, 3.0f, 2.0f, 0.0f }; //5f, 8f, -8f, 1f };// 光源位置 float[] fLightAmbient = new float[4] { 0f, 0 阅读全文
posted @ 2019-08-15 20:18 一叶之灵 阅读(269) 评论(0) 推荐(0) 编辑