码迷,mamicode.com
首页 >  
搜索关键字:collections    ( 9831个结果
python 队列
import collections#创建一个队列queue = collections.deque()print(queue)#进队(存数据)queue.append("A")print(queue)queue.append("B")print(queue)queue.append("C")pri ...
分类:编程语言   时间:2020-02-08 12:09:53    阅读次数:100
(八)正二十面体
1.概述 本片转自如下 2.代码 using System.Collections; using System.Collections.Generic; using UnityEngine; public class CreateIcosahedron : MonoBehaviour { publi ...
分类:其他好文   时间:2020-02-03 13:32:05    阅读次数:102
CefSharp 使用备忘录
Form1.cs using CefSharp; using CefSharp.WinForms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; usin ...
分类:其他好文   时间:2020-02-02 22:08:33    阅读次数:118
(五)Cube
1.概述 Unity自带cube模型,但是此文实现,分基础版和完善版。基础版不进行顶点法线计算,完善版会进行法线计算,结果会跟自带cube比较接近。 2.基础版Cube 2.1 基类 using System.Collections; using System.Collections.Generic ...
分类:其他好文   时间:2020-02-02 21:37:34    阅读次数:67
(四)平面环形
概述 本文在上一篇平面圆形基础上生成平面环形。 代码 基类 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(MeshFilter),type ...
分类:其他好文   时间:2020-02-02 20:05:43    阅读次数:147
deque
一: deque 创建双向队列 import collectionsd = collections.deque() 1. append 往右添加一个元素 d.append(1) 2. appendleft 往左边添加一个元素d.appendleft(2) 3. clear 清空队列 4. copyn ...
分类:其他好文   时间:2020-02-02 20:05:30    阅读次数:67
(三)平面圆形
概述 由于基础篇已经比较详细,此篇只贴代码。 平面圆形代码 圆形也是由三角形组成的,三角形个数越多则越园。 基类 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireCompon ...
分类:其他好文   时间:2020-02-02 19:48:50    阅读次数:99
(二)平面plane
概述 本文用来实现一个平面plane,其与四顶点的四边形mesh相比,网格变多。 Mesh代码 基类 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(ty ...
分类:其他好文   时间:2020-02-02 19:18:33    阅读次数:84
自定义修改Unity脚本模板
在Unity Editor中Create C# script后,会自动生成初始化脚本: 1 using System.Collections; 2 using System.Collections.Generic; 3 using UnityEngine; 4 5 public class Scri ...
分类:编程语言   时间:2020-02-02 13:55:22    阅读次数:115
spark2
分布式数据集 编辑 Spark围绕的核心概念,是弹性分布式数据集(RDD),一个有容错机制,可以被并行操作的集合。目前有两种类型的RDD: 并行集合(Parrallelized Collections),接收一个已经存在的Scala集合,在它上面运行各种并发计算; Hadoop数据集(Hadoop ...
分类:其他好文   时间:2020-02-01 23:17:16    阅读次数:80
9831条   上一页 1 ... 49 50 51 52 53 ... 984 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!