大约有 2,159 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0063 秒)
Laya3.0_api(672) Laya_社区(472) Laya2.0_api(357) laya_api(289) Laya_示例(150) Laya2.0_示例(112) Laya2.0_文档(98) Laya3.0_文档(9)
...rite clearAll removeAniSprite showDebugInfo Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...e addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Function):void 清理定时器。功能同Lay...
来源: laya_api 发布时间: 20170929
...ish.x = 300 _fish.y = 200 this.addChild(_fish); Laya.timer.loop(100, this, function () { console.log(_fish.x, _fish.y, _fish.width, _fish.height, _fish.rotation); if (_fish.hitTestPoint(_fish.x, _fish.y)) { console.log("hittttttt"); } }); } } //程序入口 Laya.init(600, 400); this.onLoaded() funct...
来源: Laya_社区 发布时间: 20180315
...属性值,可以使用局部变量来保存它: ```javascript private function foo():void { var prop = target.prop; // 使用prop process1(prop); process2(prop); process3(prop); } ``` ### 二、计时器 LayaAir提供两种计时器循环来执行...
来源: Laya2.0_文档 发布时间: 20210715
...nt cullPlanes cullSphere direction position Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Accessor Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_direction, _quaternion, _direction); directionLight.direction = _direction...
来源: Laya_示例 发布时间: 20260106
... 21:05 浏览: 1392 关注: 2 人 熊猫大侠 • 2018-01-19 09:20 public function Test1View() { Laya.timer.loop(10,this,draw); } private function draw():void { texture = Laya.loader.getRes("comp/lhjicon_5.png"); var temp:Texture = Texture.createFromTexture(texture,0,0,texture.sourceWidth...
来源: Laya_社区 发布时间: 20180118
...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231115
...地图的div容器 ``` ### 二、接着是构造函数: ```java public function WatchPosition() { Laya.init(1, 1); init(); // 使用高精度位置 Geolocation.enableHighAccuracy = true; Geolocation.watchPosition(Handler.create(this, updatePosition), Handler.create(this, onError)); ...
来源: Laya2.0_文档 发布时间: 20210715
... public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); /**测试 */ var o:Object = new Object()...
来源: Laya_社区 发布时间: 20171011