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

大约有 494 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)

491. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 35%]

...ngMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟子添加 var allLights = []; allLights = allLights.concat(scene._directionLights._elements); allL...

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

492. 关于UI与3D场景的问题 [ 33%]

... ele 根节点 *@param touchID touchID *@param isLeft 是否为左键 */ __proto.onMouseUp=function(ele,touchID,isLeft){ (isLeft===void 0)&& (isLeft=false); if (!this.enable) return; var preO; var tO; var arrs; var oldArr; var i=0,len=0; var tar; var sendArr; var onMobile=Browser.onMobile; a...

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

493. socket通讯返回数据 [ 31%]

...xecute 'send' on 'WebSocket': Still in CONNECTING state.     at Socket.__proto.send (file:///K:/laya/mylaya12/bin/libs/laya.core.js:13509:16)     at new Game (file:///K:/laya/mylaya12/bin/js/LayaSample.js:17:21)     at file:///K:/laya/mylaya12/bin/js/LayaSample.js:45:1     2018-02-11 添加...

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

494. 微信小游戏加载资源问题 [ 9%]

...ingContext2D = function () { }; MiniAdpter.window.CanvasRenderingContext2D.prototype = MiniAdpter.window.wx.createCanvas().getContext('2d').__proto__; MiniAdpter.window.document.body.appendChild = function () { }; MiniAdpter.EnvConfig.pixelRatioInt = 0; Laya.Browser["_pixelRatio"] = MiniAd...

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