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

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

121. LayaAir3D Warning : MyWater must config in CustomShaderConfig File. [ 51%]

...信 CD 赞同来自: 官方都不知道怎么配制?我用laya自带的line也会报这个警告,然后材质没有导出,希望官方给个回答谢谢。 2019-12-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 海螺Lei 相关...

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

122. Invalid character: '`' Stack:[native code]异常 [ 51%]

...出现Invalid character: '`' Stack:[native code]这个异常 SyntaxError line:12852,column:0,SyntaxError: Invalid character: '`' Stack:[native code] evaluateScriptFile@https://lib/WAGame.js:1:83259 value@https://lib/WAGame.js:1:178231 value@https://lib/WAGame.js:1:177377 https://lib/WAGame.js:1:1822...

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

123. QQ 玩一玩 laya.bkadpter.js (新的版本) 报错 [ 51%]

...ypeError: Attempting to change the setter of an unconfigurable property.]: line = 1075, column = 24, sourceURL = /Users/tsubasa/Library/Developer/CoreSimulator/Devices/565D33C9-E1BA-42BF-87C3-3282FD83F6C5/data/Containers/Bundle/Application/38D2253A-4EBD-4EE4-AEDE-BD2DA31928C9/PublicBrickEngineGame.a...

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

124. Laya.Video内存泄漏问题 [ 50%]

....destroy(); }); }顺便提供一个简单的修复方法: laya.device.js Line 623: 增加以下代码while(this.videoElement.childElementCount) { this.videoElement.firstChild.remove(); } this.videoElement.src = ''; 亲测仅仅移除videoElement的source子节点并不能加速内存释放,必...

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

125. HtmlDivElement 描边和下划线不能同时使用 [ 50%]

...00px;color:#ff0000;font-size:25px;font-family:SimSun;vertical-align:bottom;line-height:20px;'> <p><span style='font-weight:bold;stroke:3px; font:24px Arial' color='red' href='https://ask.layabox.com/'> LayaBox</span><span>欢迎您的加入</span> </p><p>...

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

126. laya.d3.math.Collision [ 50%]

...相交 Collision  intersectsPlaneAndPlaneRL(plane1:Plane, plane2:Plane, line:Ray):Boolean[static] 空间中平面和平面是否相交 Collision  intersectsPlaneAndPoint(plane:Plane, point:Vector3):int[static] 空间中点和平面是否相交 Collision  intersectsPlaneAndSphere(plane:Plane, s...

来源: laya_api 发布时间: 20170929

127. laya.d3.math.CollisionUtils [ 50%]

... CollisionUtils  intersectsPlaneAndPlaneRL(plane1:Plane, plane2:Plane, line:Ray):Boolean[static] 空间中平面和平面是否相交 CollisionUtils  intersectsPlaneAndPoint(plane:Plane, point:Vector3):int[static] 空间中点和平面是否相交 CollisionUtils  intersectsPlaneAndSphere(plane...

来源: Laya2.0_api 发布时间: 20190513

128. 如何加载一个HTML页面 [ 50%]

...示 ,且一直报错,"This page contains the following errors:error on line 1 at column 7: internal error: detected an error in element contentBelow is a rendering of the page up to the first error." (function() { var Stage = Laya.Stage; var Text  = Laya.Text; var WebGL = Laya.WebGL; (function(...

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

129. Laya集成Matter.js库layaSprite水平翻转无法显示的bug [ 49%]

...)处理的一bug导致,具体见附件截图。在LayaRenders.js文件的Line269 sprite.rotation = (body.angle - sprite.initialAngle) * 180 / Math.PI; 这里因sprite.initialAngle为空导致rotation为空,进而导致后续计算的sprite变换矩阵异常。   修复办法: sprite.rotation ...

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

130. HTMLDivElement 2.0 只有单行内容是 水平排版不居中 [ 49%]

...:left|right|center;             水平对齐方式      * line-height:20px;                    行高      * background-color:#ff0000;            背景颜色      * border-color:#ff0000;                边框颜色      * ...

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