大约有 784 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(532) Laya3.0_api(157) Laya2.0_文档(38) Laya3.0_文档(22) Laya2.0_api(16) laya_api(11) Laya_示例(4) Laya2.0_示例(4)
...目并没有在index.html文件中看到<script src="js/ui/layaUI.max.all.js"></script>这一行代码(UI的js引用) 你回到UI编辑模式下导出下UI,然后重新运行项目就好了 新建的UI示例项目是有ui引用的例子,建议先去看下 kaiqiw945 • ...
来源: Laya_社区 发布时间: 20180323
...me(value: number): void { const bgmVolume = Math.min(100, Math.max(0, value)) / 100; Laya.SoundManager.setMusicVolume(bgmVolume); /* if (this.bgmChannel) { this.bgmChannel.volume = Laya.SoundManager.musicVolume; } */ this....
来源: Laya_社区 发布时间: 20250930
... 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: "rgba(12,434,3...
来源: Laya_社区 发布时间: 20171018
...个子对象模型构成,及它们的命名规则。 **Tips**:在3ds max中建模时,建议对模型的子对象取名,并且制定项目的资源命名规则,不要用默认的模型名称。 ```typescript //初始化3D场景 var scene:Scene3D = Laya.stage.addChild(Loader.getRes("res/thre...
来源: Laya2.0_文档 发布时间: 20210714
...太说清楚 使用 meshSprite3D.meshRender.boundingBox 不论是获取 max min 无法获取到值,, 我实际上是想要获取的宽度,然后根据 宽度/2和高度的数值,来定位实际显示的位置。。 麻烦了,谢谢。 2017-11-17 0 2 分享 微博 QZONE 微信 183*****...
来源: Laya_社区 发布时间: 20171117
... i < g_list_A.length; i++) { g_list_C = i; } function GetRandomNum(Min, Max) { var Range = Max - Min; var Rand = Math.random(); return (Min + Math.round(Rand * Range)); } // 开始游戏 function gameStart() { if (!gameStatue) { gameStatue = true; //初始化随机下标数组 g_list_C.sort(funct...
来源: Laya_社区 发布时间: 20160623
...ference_table.cc:113] JNI ERROR (app bug): local reference table overflow (max=512) 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs A/art: art/runtime/indirect_reference_table.cc:113] local reference table dump: 03-22 13:52:03.749 15130-15218/com.xmvigor.shyxcs A/art: art/runtime/indirect_referenc...
来源: Laya_社区 发布时间: 20180322
...'viewport' content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no'/> <meta name='apple-mobile-web-app-capable' content='yes' /> <meta name='full-screen' content='true' /> <meta name='x5-fullscreen' content='true' /> <meta name='360-...
来源: Laya_社区 发布时间: 20170711
...shadow. directionLight.shadowMode = Laya.ShadowMode.SoftLow; // Set shadow max distance from camera. directionLight.shadowDistance = 3; // Set shadow resolution. directionLight.shadowResolution = 1024; // Set shadow cascade mode. directionLight.shadowCascadesMode = Laya.ShadowCascadesMode.NoCascades...
来源: Laya2.0_文档 发布时间: 20210715
... owner probeCounts probeStep runInEditor scriptPath Accessors awaked boundsMax boundsMin destroyed distanceTexel enabled hideFlags id importance irradianceTexel normalBias probePosition type viewBias Methods _VolumeChange _addRenderNode _cloneTo _initialize _motionInVolume _onDestroy _reCaculateBoun...
来源: Laya3.0_api 发布时间: 20231115