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

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

681. 关于.ui文件生成的ts类如何正确使用这个.ui皮肤,自动生成的代码有误 [ 47%]

...目并没有在index.html文件中看到<script src="js/ui/layaUI.max.all.js"></script>这一行代码(UI的js引用) 你回到UI编辑模式下导出下UI,然后重新运行项目就好了 新建的UI示例项目是有ui引用的例子,建议先去看下 kaiqiw945 • ...

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

682. [LayaAirIDE3]xcode切入切出声音不播放 [ 46%]

...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

683. 画出来鼠标轨迹线 [ 46%]

...     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

684. 模型的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之模型和网格) [ 46%]

...个子对象模型构成,及它们的命名规则。 **Tips**:在3ds max中建模时,建议对模型的子对象取名,并且制定项目的资源命名规则,不要用默认的模型名称。 ```typescript //初始化3D场景 var scene:Scene3D = Laya.stage.addChild(Loader.getRes("res/thre...

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

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

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

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

686. LayaAir开发笔记(1)五十音图连连看 [ 46%]

... 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

687. conch.config.getUsedMem() 安卓包中 定时运行报错 [ 46%]

...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

688. as hello world 背景还是黑色 [ 46%]

...'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

689. 如何为灯光添加阴影(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 46%]

...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

690. laya.d3.component.volume.volumetricgi.VolumetricGI_API3.0 [ 46%]

... 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