大约有 2,610 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1994) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(33)
...图12-3所示。 (图12-3) 3.4 事件 需要在@bpClass标签中加入events,示例代码如下所示: const { bpClass, bpFunction } = BP; @bpClass({ name: "TestEvents", extends: "Sprite", construct: { params: [ { "name": "eee", "type": "string" } ] }, events: [{ name: "onTest", params: [{ n...
来源: Laya3.0_文档 发布时间: 20240905
...All Classes | Index | Frames No Frames GlitterProperties | Methods | Events | Constants Packagelaya.d3.core.glitterClasspublic class GlitterInheritanceGlitter RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object Glitter 类用于创建闪光。 Public Properties Hide Inherit...
来源: laya_api 发布时间: 20170929
关于多点触控e.touches问题 Laya.stage.on(Laya.Event.MOUSE_DOWN, this, onCtrlMoveRockerTouchDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, onCtrlMoveRockerTouchDown); function onCtrlMoveRockerTouchDown(e) { console.log("onCtrlMoveRockerTouchDown()"); this.ctrlMoveRockerPosX...
来源: Laya_社区 发布时间: 20171204
... All Classes | Index | Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage UIComponent Sprite Node EventDispatcher ObjectSubclasses AdvImage Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一...
来源: Laya2.0_api 发布时间: 20190513
陀螺仪和加速计使用问题 Laya.Gyroscope.instance.on(Laya.Event.CHANGE,this,this.onDeviceorientation); Laya.Accelerator.instance.on(Laya.Event.CHANGE,this,this.onMotoin); 官网陀螺仪和加速计例子中的上面两句运行时都报 Cannot read property 'instance' of undefined 的错...
来源: Laya_社区 发布时间: 20180413
...(laya.d3.js:22407) at ResInfo.onLoaded (laya.core.js:12995) at EventHandler.__proto.runWith (laya.core.js:711) at ResInfo.__proto.event (laya.core.js:483) at LoaderManager.__proto._endLoad (laya.core.js:13152) at Loader.onLoaded (laya.core.js:13128) at EventHandle...
来源: Laya_社区 发布时间: 20190520
... Classes | Index | Frames No Frames Particle3DProperties | Methods | Events | Constants Packagelaya.d3.core.particleClasspublic class Particle3DInheritanceParticle3D RenderableSprite3D Sprite3D Node EventDispatcher Object Particle3D 3D粒子。 Public Properties Hide Inherited Public Propert...
来源: laya_api 发布时间: 20170603
..., 0); var _vector3 = new Laya.Vector3(); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { Laya.Vector3.add(_outHitInfo.position, _offset, _vector3); Laya.Tween.to(_position, {x: _vector3.x, y: _vector3.y, z: _vector3.z}, 500/**,Ease.circIn*/); ...
来源: Laya_示例 发布时间: 20241002
...adImage("../laya/assets/bg_back.png"); Laya.stage.addChild(Bg); Bg.on(Laya.Event.MOUSE_DOWN, this, function(){ // 创建Video元素 var videoElement = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElement); // 设置Video元素地样式和属性 videoElement.style....
来源: Laya_社区 发布时间: 20180119
...asses | Index | Frames No Frames TrailSprite3DProperties | Methods | Events Packagelaya.d3.core.trailClasspublic class TrailSprite3DInheritanceTrailSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TrailSprite3D 类用于创建拖尾渲染精灵。 Public Properties Hide Inheri...
来源: Laya2.0_api 发布时间: 20190513