大约有 640 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0061 秒)
Laya_社区(307) Laya2.0_api(86) Laya2.0_文档(86) laya_api(77) Laya3.0_api(61) Laya3.0_文档(19) Laya2.0_示例(4)
...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
...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
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...
来源: laya_api 发布时间: 20170929
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之...
来源: laya_api 发布时间: 20170929
...(指针)了 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
...ysicsSimulation fixedTimeStep : Number物理模拟器帧的间隔时间:通过减少fixedTimeStep可增加模拟精度,默认是1.0 / 60.0。PhysicsSimulation gravity : Vector3 获取重力。 PhysicsSimulation maxSubSteps : int = 1物理引擎在一帧中用于补偿减速的最大次数...
来源: Laya2.0_api 发布时间: 20190513
...nExit、onTriggerEnter、onTriggerStay、onTriggerExit。 - 4.物理属性(通过刚体进行设置) restitution弹力、friction摩擦力、mass质量、linearDamping线性阻尼、angularDamping角阻尼、linearVelocity线速度、angularVelocity角速度、isSleeping是否处于休眠状态...
来源: Laya2.0_文档 发布时间: 20210714
...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
...st滑动条会引起单元格上的按钮点击后多次触发点击事件 通过laya嵌入iframe 后 原本laya禁止微信浏览器里面的上下滑动,又开始上下滑动了 list 每次滑动,都是可以滑动一点点,可不可以如何设置,让他每次滑动,只能固定的值...
来源: Laya_社区 发布时间: 20170515
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边...
来源: laya_api 发布时间: 20170929