学习笔记适合新手,如有错误请指正。?号处也请各位指点下,谢谢。建立一个场景》新建一个Plane作为地面》在创建一组Cube作为一个小屋把Direction Light的Intensity设置为0.2模拟夜晚的感觉在创建一个Point Light并置于小屋的天花板在创建一个player,其下有一个子对...
分类:
其他好文 时间:
2015-11-04 19:28:03
阅读次数:
224
1.【弹性盒模型Flexbox】,最大的特性在于,能够动态修改子元素的宽度和高度,以满足在不同尺寸屏幕下的恰当布局。flex-direction:row | row-reverse | column | column-reverse /*设置主轴方向,确定弹性子元素排列方式*/flex-wrap: ...
分类:
Web程序 时间:
2015-11-03 10:33:35
阅读次数:
245
-webkit-animation:仍旧是一个复合属性,-webkit-animation: name duration timing-function delay iteration_count direction;包括以下几个属性(1) -webkit-animation-name 这个属性的使...
分类:
Web程序 时间:
2015-10-16 16:43:16
阅读次数:
124
游戏开发人员可以使用光线投射,用于像瞄准,确定视线,测量距离之类的动作。Unity当中的Raycast的重载有很多。现在展示最常用的2中方法boolRaycast(Vector3origin,Vector3direction,floatdistance,LayerMaskmask);参数解释origin:是光线的开始位置direction:光线的方向dista..
分类:
其他好文 时间:
2015-10-11 06:49:11
阅读次数:
196
1、alignItems enum('flex-start', 'flex-end', 'center', 'stretch')源码描述// How to align children in the cross direction
// https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
alignItems: Reac...
分类:
其他好文 时间:
2015-09-29 13:15:30
阅读次数:
300
Starting with the number 1 and moving to the right in a clockwise direction a 5 by 5 spiral is formed as follows:2122 23 242520 78 91019 6 12 1118 54 ...
分类:
其他好文 时间:
2015-09-23 14:50:07
阅读次数:
130
HTML标签1、marquee 滚动字幕默认状态:浏览器的从右往左,滚完之后再从右往左。属性:direction (up向上) hspace距左侧的距离behavior(alternate来回滚动 slide不会滚动)scrollamout速度 scrolldelay停顿时间可以放置图片滚动。滚动一...
分类:
Web程序 时间:
2015-09-21 13:50:48
阅读次数:
238
HTML滚动字幕标签属性描述默认属性字幕从右到左滚动,循环hight高度direction滚动的方向,值:left 向右; up 向上; down 向下;hspace滚动的区域width宽度behavior值:slide 到达目的地后,停止滚动 alternate 字幕来回循环滚动sctolla.....
分类:
Web程序 时间:
2015-09-21 06:59:33
阅读次数:
195
box-reflect: 语法:box-reflect:none | ? ?因为不是w3c标准,所以在使用的时候要加上浏览器的私有属性 none:默认值,表示没有倒影; direction:倒影生成的方向,分为上下左右,取值分别为above,below,left和right offset:...
分类:
其他好文 时间:
2015-09-20 21:57:13
阅读次数:
134
一、滚动字幕标签 属性: scrollamount 指定每次移动的速度,数值越大速度越快 scrolldelay 文字每一次滚动的停顿时间,单位是毫秒。时间越短滚动越快 hspace 指定字幕左右空白区域的大小 vspace 指定字幕上下空白区域的大小 direction 设定文字的卷动方向,lef...
分类:
Web程序 时间:
2015-09-20 19:10:40
阅读次数:
201