• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 898 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0045 秒)

821. 画出来鼠标轨迹线 [ 47%]

...t[i-1];         var first=point[i];         var speed=Math.min(400,Math.max(distance(last,first),200));//使线的宽度依托于你滑动的速度、并赋予上下限         line.graphics.drawPath(0,0,[["moveTo",last.x,last.y],["lineTo",first.x,first.y]],{}, {strokeStyle: ...

来源: Laya_社区 发布时间: 20171018

822. laya.d3.core.material.StandardMaterial [ 47%]

...参数枚举_一,例:RGB(1,1,1),Alpha:(1)。BaseMaterial BLENDPARAM_ONE_MINUS_CONSTANT_ALPHA : int = 0x8004[static] 混合参数枚举_一减常量阿尔法,例:RGB(1-Ac, 1-Ac, 1-Ac),Alpha(1-Ac)。BaseMaterial BLENDPARAM_ONE_MINUS_CONSTANT_COLOR : int = 0x8002[static] 混合参数枚举_一...

来源: laya_api 发布时间: 20170929

823. 咨询在Laya.Sprite3D中,是否含有类似于 Sprite 中的getbounds函数 [ 47%]

...说清楚  使用 meshSprite3D.meshRender.boundingBox 不论是获取 max min 无法获取到值,, 我实际上是想要获取的宽度,然后根据 宽度/2和高度的数值,来定位实际显示的位置。。 麻烦了,谢谢。   2017-11-17 0 2 分享 微博 QZONE 微信 183*****755...

来源: Laya_社区 发布时间: 20171117

824. 如何实现聊天图文混排的聊天 气泡背景效果? [ 47%]

...iv style="background:url(Face/img_duihua_qipao_green_02.png); height:100%; min-height:44px; width:400px;         border-top-left-radius:20px;         border-bottom-right-radius:20px;         border-bottom-left-radius:20px;         ">         <span style="display:b...

来源: Laya_社区 发布时间: 20170710

825. Sprite3D支持的Unity导出列表(TypeScript-3D基础(TS)-LayaAir3D之Unity插件使用) [ 47%]

...ents/Inspector-TrailRenderer.png) 1. Materials - Size - Element 2. Time 3. min Vertex Distance 4. Width 5. Color - Gradient 1. mode - Blend - Fixed 2. Color 3. Alpha 4. Location 6. Alignment - View - TransformZ 7. Texture Mode - Stretch

来源: Laya2.0_文档 发布时间: 20200822

826. vivo插件版引擎使用说明(TypeScript-小游戏适配文档-vivo小游戏) [ 47%]

...用压缩版类库`,也就是说,默认的引擎库就是压缩后的min包,这样可以减少插件种子的加载速度,而且vivo发布为rpk包的时候,还会二次压缩,最终引擎库的体积大概在引擎mini包体积的四分之一左右。所以,建议大家不要取消`...

来源: Laya2.0_文档 发布时间: 20210714

827. layaair2-cmd compile 一直报错loader.js:638 throw err; [ 47%]

...odules/cjs/helpers.js:25:18)     at Object.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-cmd\node_modules\vinyl\index.js:12:25)     at Module._compile (internal/modules/cjs/loader.js:778:30)     at Object.Module._extensions..js (internal/modules/cjs/loader...

来源: Laya_社区 发布时间: 20210701

828. Laya.HTMLDivElement解析img标签报错 [ 47%]

...错:LayaPlayer不支持的标签</SCRIPT> 用了ByteArray的zlib.min.js后报错 runtime运行报错! 小游戏项目 加载有中文的json文件 报错 2.2.0beta4,微信上动态合批报错. 请问laya里如何解析json,似乎和AS3的不太一样。 微信小游戏编译报错 问...

来源: Laya_社区 发布时间: 20190926

829. Unity2.10.0beta插件报错 [ 46%]

...;:0) LayaAir3D.exportResource (System.Boolean isDebug, System.Int32 Platformindex, System.String lastname) (at <174bbe38e5444724b5b9eeb4600df769>:0) b+l.b () (at <174bbe38e5444724b5b9eeb4600df769>:0) q.b (q+a A_0) (at <174bbe38e5444724b5b9eeb4600df769>:0) q.a () (at <174bbe38e54...

来源: Laya_社区 发布时间: 20201230

830. 发布项目“是否压缩混淆js(耗时)”的bug [ 46%]

...是报这样的错误: E:\new_work\uglify>uglifyjs code.js > code.min.js Parse error at code.js:107395,26             for(var cType of arr)                           ^ ERROR: Unexpected token name «of», expected punc «;»     at JS_Parse_Error.get (eval at <anonymo...

来源: Laya_社区 发布时间: 20180411