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

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

331. laya.d3.resource.TextureCube [ 67%]

...arams:Array = null):TextureCube[static] TextureCube generateMipmap():void 通过基础数据生成mipMap。 BaseTexture  load(url:String, complete:Handler):void[static] 加载TextureCube。 TextureCube  setSixSideImageSources(source:Array, premultiplyAlpha:Boolean = false):void 通过六张图...

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

332. laya.d3.core.RenderableSprite3D [ 67%]

...runCallLater(method:Function):void 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, ...

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

333. laya.ui.LayoutBox [ 67%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...

来源: laya_api 发布时间: 20170929

334. laya.ui.RadioGroup [ 67%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...

来源: laya_api 发布时间: 20170929

335. 编辑模式下定义的变量如何在代码模式下获取[ 67%]

...(指针)了 let buttonStart = scene.buttonStart; // 当然你也可以通过name去找,指针指向的都是同一个对象 let buttonStart_getByName = scene.getChildByName('buttonStart'); // 输出:true console.log(buttonStart === buttonStart_getByName); 2019-03-08 0 0 分享 微博 QZON...

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

336. laya.d3.physics.PhysicsSimulation [ 67%]

...ysicsSimulation  fixedTimeStep : Number物理模拟器帧的间隔时间:通过减少fixedTimeStep可增加模拟精度,默认是1.0 / 60.0。PhysicsSimulation  gravity : Vector3 获取重力。 PhysicsSimulation  maxSubSteps : int = 1物理引擎在一帧中用于补偿减速的最大次数...

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

337. 基于Cannon.js的物理系统(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 67%]

...nExit、onTriggerEnter、onTriggerStay、onTriggerExit。 - 4.物理属性(通过刚体进行设置) ​restitution弹力、friction摩擦力、mass质量、linearDamping线性阻尼、angularDamping角阻尼、linearVelocity线速度、angularVelocity角速度、isSleeping是否处于休眠状态...

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

338. IDE 怎么获取Json数据 [ 67%]

...ueying 赞同来自: 1、如果你的.json是在资源目录下,你可以通过预加载的方式对json进行预加载,加载完成后获取json的数据,如下 Laya.loader.load("aaa.json",Handler.create(this,onLoaded),null,Loader.JSON); } private function onLoaded():void { var js:JSON=Laya.l...

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

339. 720 全景图 手指滑动 滑动距离 [ 67%]

...st滑动条会引起单元格上的按钮点击后多次触发点击事件 通过laya嵌入iframe 后 原本laya禁止微信浏览器里面的上下滑动,又开始上下滑动了 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值...

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

340. laya.ui.Component [ 66%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bottom : Number 从组件底边到其内容区域底边...

来源: laya_api 发布时间: 20170929