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

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

2611. LayaAir引擎AS3与Flash原生AS3的开发差异(ActionScript-简介篇(AS3)-LayaAir引擎简介) [ 38%]

...用法示例:** **派发:** ``` 派发对象.event(type:String,data:*=null); ``` **监听:** ``` 派发对象.on(type,caller,listener,args); ``` ## 五、LayaAir与AS3的差异 在Flash AS3的原生API写法中可以直接继承Sprite,但是LayaAir引擎里主文档类入口(初始化引擎...

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

2612. laya.d3.webxr.core.ButtonGamepad_API3.0 [ 37%]

... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...

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

2613. native2.12.0 laya2.7.1崩溃 [ 37%]

...RR), fault addr 0xe0 2022-03-08 16:19:22.013 11539-11539/? A/DEBUG: Cause: null pointer dereference 2022-03-08 16:19:22.013 11539-11539/? A/DEBUG:     x0  0000007e8565c1c0  x1  0000000000000000  x2  0000000000000000  x3  0000000000000002 2022-03-08 16:19:22.013 11539-11539/? A/DEBUG:     ...

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

2614. Laya中的宏编译要怎么用啊 [ 37%]

...entListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, init); this.stage.scaleMode = StageScaleMode.NO_SCALE; this.stage.align = StageAlign.TOP_LEFT; __JS__Test(); } private function __JS__Test():void { __JS__("window.alert('...

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

2615. laya.d3.core.scene.bvhscenerendermanager.BVHRenderBox_API3.0 [ 37%]

...Box Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:472 重算包围盒 null need Update by child contents need Update by List Returns void removeCell removeCell(cell: IBoundsCell): void Inherited from BVHSpatialBox.removeCell Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:293 remove one Cell...

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

2616. 滤镜-颜色滤镜 [ 37%]

...r.load(ApePath, Handler.create(this, setup)); } private function setup(e:*=null):void { normalizeApe(); makeRedApe(); grayingApe(); } private function normalizeApe():void { var originalApe:Sprite = createApe(); apeTexture = Laya.loader.getRes(ApePath); originalApe.x = (Laya.stage.width - apeTexture....

来源: Laya_示例 发布时间: 20260303

2617. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 36%]

...rotate(new Laya.Vector3(-30, 0, 0), true, false); this.camera.clearColor = null; //添加方向光 var directionLight: Laya.DirectionLight = this.scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new L...

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

2618. 滤镜-颜色滤镜 [ 36%]

...r.load(ApePath, Handler.create(this, setup)); } private function setup(e:*=null):void { normalizeApe(); makeRedApe(); grayingApe(); } private function normalizeApe():void { var originalApe:Sprite = createApe(); apeTexture = Laya.loader.getRes(ApePath); originalApe.x = (Laya.stage.width - apeTexture....

来源: Laya2.0_示例 发布时间: 20260303

2619. 材质-BlinnPhong-漫反射贴图 [ 36%]

...arth.png"); earth2.meshRender.material = material; Laya.timer.frameLoop(1, null, function():void { earth1.transform.rotate(rotation, false); earth2.transform.rotate(rotation, false); }); } } }

来源: Laya_示例 发布时间: 20260303

2620. 打包Android单机版原生应用,屏幕黑屏,但是看日志发现逻辑正常执行了 [ 36%]

...8:47:40.806 26418-26418/com.layabox.game E/SysUtils: ApplicationContext is null in ApplicationStatus 09-10 18:47:40.835 26418-26418/com.layabox.game E/GED: Failed to get GED Log Buf, err(0) 09-10 18:47:40.932 26418-26418/com.layabox.game E/MPlugin: Unsupported class: com.mediatek.common.telephony.IO...

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