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

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

441. laya.d3.physics.HitResult [ 76%]

...itResult  point : Vector3 碰撞点。HitResult  succeeded : Boolean = false 是否成功。 HitResultPublic Methods  MethodDefined By  HitResult() 创建一个 HitResult 实例。 HitResultProperty Detailcolliderpropertypublic var collider:PhysicsComponent = null 发生碰撞的碰撞组件...

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

442. H5小游戏,IOS平台退到后台,长时间返回画面卡顿或者直接卡死! [ 76%]

...delay;                             handler.run(false);                             if (t > handler.exeTime){                                 handler.exeTime+=Math.ceil((t-handler.exeTime)/ handler.delay)*handl...

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

443. laya.media.SoundChannel [ 76%]

...y] 获取总时间,单位是秒。 SoundChannel  isStopped : Boolean = false 表示声音是否已暂停。 SoundChannel  loops : int 循环次数。 SoundChannel  position : Number[read-only] 获取当前播放时间,单位是秒。 SoundChannel  startTime : Number 播放声音开始时...

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

444. 怎么设置动画的锚点? [ 76%]

...动,只能固定的值。 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 Laya3D里的material可以设置flat shading么 龙骨skeleton鼠标点击区域的设置 anchor锚点设置不生效 设置遮罩会导致内存大大增高 dialo...

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

445. laya.d3.terrain.Terrain [ 76%]

...n[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Bool...

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

446. Laya多点触控是有开关吗 为什么多点触控没有任何反应 [ 76%]

...        camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false);                      //创建平行光         let directionLight = scene.addChild(new Laya.DirectionLight());         //设置平行光颜色         directionLight.color =...

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

447. laya.html.dom.HTMLDivElement_API3.0 [ 76%]

...s文件来当style使用,比如: style支持的属性如下: italic:true|false; 是否是斜体 bold:true|false; 是否是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同bold color:#ff0000; 字体...

来源: Laya3.0_api 发布时间: 20231102

448. 天空-天空盒 [ 76%]

...0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3( -30, 0, 0), true, false); camera.addComponent(CameraMoveScript); camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //天空盒 var skyBox = new Laya.SkyBox(); camera.sky = skyBox; skyBox.textureCube = Laya.TextureCube.load("../../res/threeDime...

来源: Laya_示例 发布时间: 20260303

449. 性能统计面板 [ 76%]

...,LayaNative下面 Stat统计的sprite数量不准,误将sprite.visible=false的对像也统计进去了,网页端就没有问题 view 设置为false之后是不是不在占用性能 两个面板发布生成的ui代码在同一个文件类中。 spine性能问题 渲染性能实例问题 问题...

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

450. list点击label保留一种状态 [ 76%]

... for(var i = 0;i < 10;i++){ data.push({ bgColor:{color:'#f3d9b4'}, type:false }) } record_slide_list.array = data; record_slide_list.selectEnable=true; record_slide_list.selectHandler = new Handler(this, onSelect,[record_slide_list]); record_slide_list.renderHandler = new Handler(this, onRender);...

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