大约有 1,025 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0168 秒)
...setPixels 时,并没有显式的设置mipmap层级 (setPixels的第二个参数) 3) 所以当缩放到.7左右时,读取第二层级的图片,但因为你没有设置mipmap层级,导致其他层级全是黑色,结果就显示黑色了。 4.1) 建议不要使用 setPixels 方法,或者手...
来源: Laya_社区 发布时间: 20200422
...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...
来源: Laya3.0_api 发布时间: 20231115
...个回复 Laya_Aaron 赞同来自: 方法没有问题,clear 里面两个 参数可以锁定你 加的那些 那不是有执行域吗 2018-07-19 0 0 分享 微博 QZONE 微信 Yuk 赞同来自: 假如执行域和方法都一样呢,如下: Laya.Timer.loop(100, this, this.fun, null, false); Laya....
来源: Laya_社区 发布时间: 20180719
...信 意帅.yisa 赞同来自: 反应另外一个BUG 加载完成的回调参数错了 2.0的全部版本 可能都是这样的 2019-05-14 0 0 分享 微博 QZONE 微信 andy 赞同来自: 我昨天也发现了这个问题,只能还原到旧版本了 2019-05-15 0 0 分享 微博 QZONE 微信 瑰意...
来源: Laya_社区 发布时间: 20190514
...fined in laya/ui/Tree.ts:382 单元格鼠标事件处理器。 默认返回参数(e:Event,index:int)。 Returns Handler Defined in laya/ui/Tree.ts:386 单元格鼠标事件处理器。 默认返回参数(e:Event,index:int)。 Parameters value: Handler Returns void mouseX get mouseX(): number...
来源: Laya3.0_api 发布时间: 20231115
...an = false):void 加载资源。加载错误会派发 Event.ERROR 事件,参数为错误信息。 Loader off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatc...
来源: laya_api 发布时间: 20170929
...适应需要自己做的,就是获取到设配的屏幕尺寸后,再传参数给游戏让其自适应,跟flash里一样。 laya之后也会提供相应的接供公开发者直接调用。 目前我们有提供Iflash.setSize方法让开发者发布固定机型尺寸,比如960*640类似。 ...
来源: Laya_社区 发布时间: 20151102
...,那肯定是这个方法里面有问题,可是这个方法算出来的参数都是一样,就不知道这个锁定竖屏是在哪里影响最终的结果了
来源: Laya_社区 发布时间: 20200805
...rams): void Defined in laya/d3/component/Animator/Animator.ts:151 状态机参数map Returns AnimatorParams Defined in laya/d3/component/Animator/Animator.ts:147 状态机参数map Parameters values: AnimatorParams Returns void awaked get awaked(): boolean Inherited from Component.awaked Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...onName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.clearTimer Defined in laya/display/Node.ts:609 清理定时器。功能同Laya.timer.clearTimer()。 Parameters calle...
来源: Laya3.0_api 发布时间: 20231115