大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0079 秒)
Laya_社区(2610) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya_示例(83) Laya3.0_文档(76) Laya2.0_示例(45)
...ns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注...
来源: Laya3.0_api 发布时间: 20231115
...mission.ACCESS_COARSE_LOCATION" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"> <activity android:name="demo.MainActivity" android:screenOrientation="landscape" android:windowSoftInputMode="stateHidden|adjustPan" android:con...
来源: Laya_社区 发布时间: 20170722
...: 以下是我的全部测试代码: (function(){ Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transfo...
来源: Laya_社区 发布时间: 20180103
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...
来源: Laya3.0_api 发布时间: 20231115
...f(); mArmature.removeChildren(); mArmature.destroy(true); Laya.Pool.recover('Skeleton', mArmature); } function play() { mCurrIndex++; if (mCurrIndex >= mArmature.getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex, false); } })(); 报错信...
来源: Laya_社区 发布时间: 20181120
...: class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 var scene = Laya.Scene.load("LayaScene_unity1/unity1.ls"); Laya.stage.addChild(scene); //...
来源: Laya_社区 发布时间: 20171017
...ns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注...
来源: Laya3.0_api 发布时间: 20231115
...默认为未选中的false状态。一旦我们将selected属性设置为true。那按钮将会一直保持选中(持续按下)的状态,而不会再对其它状态产生变化(除非代码中进行状态改变)。 ### 2.4 是否切换按钮的显示状态(toggle) toggle属性默...
来源: Laya2.0_文档 发布时间: 20210714
...D/OpenGLRenderer: HWUI Binary is enabled disableOutlineDraw is true D/a: Mainactivity---------------------------------oncreate Mainactivity---------------------------------initEngine D/: >>>>>>>>>>>>>>>>>>>>>>>>...
来源: Laya_社区 发布时间: 20190723
...his.te.buildArmature(0); this.sk.x = 400; this.sk.y = 700; this.sk.play(0, true); Laya.stage.addChild(this.sk); } Demo如下: 附件 : --> skTest.zip 2019-03-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 10 个回复 Le...
来源: Laya_社区 发布时间: 20190320