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

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

1541. laya.map.TileTexSet_API3.0 [ 60%]

...rite clearAll removeAniSprite showDebugInfo Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface

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

1542. laya.ui.HSlider [ 60%]

...e addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, method:Function):void 清理定时器。功能同Lay...

来源: laya_api 发布时间: 20170929

1543. hitTestPoint对象父容器rotation旋转之后检测不了碰撞 [ 60%]

...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

1544. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 60%]

...属性值,可以使用局部变量来保存它: ```javascript private function foo():void {     var prop = target.prop;     // 使用prop     process1(prop);     process2(prop);     process3(prop); } ``` ### 二、计时器 ​ LayaAir提供两种计时器循环来执行...

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

1545. laya.d3.renderobjs.nativeobj.NativeShadowCullInfo_API3.0 [ 60%]

...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

1546. 高级应用-实时阴影 [ 60%]

...)); 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

1547. 在Canvas模式下 drawTexture出错 [ 60%]

... 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

1548. laya.particle.ParticleTemplate2D_API3.0 [ 60%]

...建 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

1549. 使用百度地图显示当前位置(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 60%]

...地图的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

1550. as编译js的一个问题 [ 59%]

...     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640);                          /**测试 */             var o:Object = new Object()...

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