语言集成查询 (LINQ)

作者:追风剑情 发布于:2019-6-28 16:18 分类:C#

示例一:从数组中查询数据 using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace LINQ { class Program { static voi...

阅读全文>>

标签: C#

评论(0) 浏览(2875)

CMake-gui

作者:追风剑情 发布于:2019-6-28 13:20 分类:C

下载 https://cmake.org/download/ Wiki https://gitlab.kitware.com/cmake/community/wikis/home 文档 https://cmake.org/documentation/ 一、下载并安装好CMake 二、写一个测试用的...

阅读全文>>

标签: C语言

评论(0) 浏览(3841)

WPF发布安装程序

作者:追风剑情 发布于:2019-6-26 21:25 分类:C#

一、下载并安装Visual Studio Installer https://marketplace.visualstudio.com/items?itemName=visualstudioclient.MicrosoftVisualStudio2017InstallerProjects 二、新建Setup Project工程 ...

阅读全文>>

标签: C#

评论(0) 浏览(4986)

WPF实现拖动

作者:追风剑情 发布于:2019-6-26 15:09 分类:C#

XAML官方文档 https://docs.microsoft.com/zh-cn/dotnet/framework/wpf/advanced/xaml-overview-wpf WPF实现拖动 示例:拖动UserControl 一、App.xml中定义拖动条样式 <Application x:Class="Test.App" xm...

阅读全文>>

标签: C#

评论(0) 浏览(6947)

基数排序

作者:追风剑情 发布于:2019-6-22 17:12 分类:Algorithms

示例 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.Data.SQLite; namespace ConsoleApp4 { class Program ...

阅读全文>>

标签: Algorithms

评论(0) 浏览(3078)

Unity加载STL模型文件

作者:追风剑情 发布于:2019-6-19 16:51 分类:Unity3d

示例 STL文件格式 solid AutoCAD facet normal -0.906285 -0.422666 -0.000000 outer loop vertex 0.440247 1.736237 -29.300010 vertex 0.440247 1.736237 -29.495010 ...

阅读全文>>

标签: Unity3d

评论(0) 浏览(5323)

std::string

作者:追风剑情 发布于:2019-6-18 22:05 分类:C++

示例1:to_string() #include <iostream> #include <string> using namespace std; int main() { const int SIZE = 4; string arr[SIZE]; int i; for (i = 0; i < SIZE; i++) { ...

阅读全文>>

标签: C++

评论(0) 浏览(2195)

OpenCASCADE

作者:追风剑情 发布于:2019-6-16 15:24 分类:C++

几何造型开源软件库 官网下载 百度网盘  提取码: af88 编译源码 在对应的vcxx目录下找到OCCT.sln 编译OCCT报错 解决方案 项目->重定解决方案目标 AnyCAD.NET是基于OpenCASCADE的一层C...

阅读全文>>

标签: OpenCASCADE

评论(0) 浏览(4003)

EditorGUI.ProgressBar()

作者:追风剑情 发布于:2019-6-15 21:15 分类:Unity3d

示例 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(Test))] [CanEditMultipleObjects] public class TestInspector : Edi...

阅读全文>>

标签: Unity3d

评论(0) 浏览(2556)

EditorGUIUtility.wideMode

作者:追风剑情 发布于:2019-6-15 20:11 分类:Unity3d

示例 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; [CustomEditor(typeof(Test))] [CanEditMultipleObjects] public class TestInspector : Edi...

阅读全文>>

标签: Unity3d

评论(0) 浏览(3375)

安装Redis

作者:追风剑情 发布于:2019-6-15 12:44 分类:Redis

Redis是REmote DIctionary Server (远程字典服务器)的缩写,它以字典结构存储数据,并允许其他应用通过TCP协议读写字典中的内容。 Redis支持的键值类型如下: 字符串类型 (字符串类型键可以存储二进制数据) 散列类型 集合类型 有序集合类型 ...

阅读全文>>

标签: Redis

评论(0) 浏览(2270)

UGUI-Anchors

作者:追风剑情 发布于:2019-6-14 20:43 分类:Unity3d

理解UGUI中的锚点 当父容器尺寸变化时,子项会尽量保持与四个锚点之间的相对位置不变。 ---------------------------------------------------------------------------------------------- 当父容器尺寸变化时,...

阅读全文>>

标签: Unity3d

评论(0) 浏览(2526)

GUILayout.SelectionGrid()

作者:追风剑情 发布于:2019-6-14 11:44 分类:Unity3d

示例 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class UITableWindow : EditorWindow { [MenuItem("Example/UI Table Window")] ...

阅读全文>>

标签: Unity3d

评论(0) 浏览(5432)

Noitom Hi5 VR手套

作者:追风剑情 发布于:2019-6-11 10:41 分类:Unity3d

官网 https://www.noitom.com.cn/ SDK下载 https://hi5vrglove.com/downloads 一、开发环境安装 1、通过Unity Asset Store找到SteamVR plugin并导入到工程。 2、从官网下载Hi5_Unity_SDK_1_0_0_655_16.unitypa...

阅读全文>>

标签: Unity3d

评论(0) 浏览(6276)

UGUI-ObjectPool<T>

作者:追风剑情 发布于:2019-6-5 20:45 分类:Unity3d

示例 using System.Collections.Generic; using UnityEngine.Events; using UnityEngine; /// <summary> /// 对象池 /// new()约束T必须要有无参构造函数 /// </summary> /// <typeparam name="T"><...

阅读全文>>

标签: Unity3d

评论(0) 浏览(3394)

UGUI-UIButtonMessage

作者:追风剑情 发布于:2019-6-5 18:23 分类:Unity3d

示例 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using UnityEngine.Serializatio...

阅读全文>>

标签: Unity3d

评论(0) 浏览(3484)

UGUI-UITweenRotation

作者:追风剑情 发布于:2019-6-5 9:35 分类:Unity3d

示例 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using UnityEngine.Serializatio...

阅读全文>>

标签: Unity3d

评论(0) 浏览(3496)

UGUI-UITweenPosition

作者:追风剑情 发布于:2019-6-4 20:02 分类:Unity3d

示例: using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; using UnityEngine.EventSystems; using UnityEngine.Serializati...

阅读全文>>

标签: Unity3d

评论(0) 浏览(4135)

让摄像机始终看向某个物体

作者:追风剑情 发布于:2019-6-3 19:35 分类:Unity3d

示例 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CameraLookAt : MonoBehaviour { public bool lookAt = true; public Transform target; ...

阅读全文>>

标签: Unity3d

评论(0) 浏览(3728)

Relative Joint 2D

作者:追风剑情 发布于:2019-6-3 10:36 分类:Unity3d

固定两个GameObject的相对位置 示例:红色球使用了Relative Joint,绿色球使用了Spring Joint

阅读全文>>

标签: Unity3d

评论(0) 浏览(2980)

最小生成树-克鲁斯卡尔算法

作者:追风剑情 发布于:2019-6-2 18:02 分类:Algorithms

       在一个无向连通图G中,如果取它的全部顶点和一部分边构成一个子图G`,即V(G`)=V(G)和E(G`)⊆E(G`)。若边集E(G`)中的边,即将图G中的所有顶点连通,又不形成回路,则称子图G`是原图G的一棵生成树。显然无向连通图的生成树不是唯一的。连通图的一次遍历所经过的边的集合及图中所有顶点的集合就构成了该图的一棵生成树,对连通图的不同遍历,...

阅读全文>>

标签: Algorithms

评论(0) 浏览(2437)

编译GLTools源码

作者:追风剑情 发布于:2019-6-2 10:38 分类:OpenGL

下载源码 https://github.com/HazimGazov/GLTools 一、新建C++静态库项目,并把源码拷到工程中 二、通过NuGet安装nupengl 三、添加预处理宏_CRT_SECURE_NO_WARNINGS 四、生成GLTools.lib

阅读全文>>

标签: OpenGL

评论(0) 浏览(3257)

Powered by emlog  蜀ICP备18021003号-1   sitemap

川公网安备 51019002001593号