大约有 1,240 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0066 秒)
Laya_社区(920) Laya3.0_api(80) Laya2.0_文档(78) Laya_示例(64) Laya2.0_示例(51) Laya3.0_文档(43) laya_api(2) Laya2.0_api(2)
...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex...
来源: Laya3.0_api 发布时间: 20231115
...useConstraint, ground, pyramid, ground2, pyramid2, rock, elastic]); Matter.Events.on(engine, 'afterUpdate', function() { if (mouseConstraint.mouse.button === -1 && (rock.position.x > 190 || rock.position.y 190 || rock.position.y 190 || rock.position.y < 430)) { rock = Matter.Bodies.polygon(170, 450,...
来源: Laya_示例 发布时间: 20251219
...dex = 0; //.............按钮点击事件 监听 changeMeshButton.on(Laya.Event.CLICK, this, function(){ index++; if (index % 5 === 1 ){ //切换mesh sphere.meshFilter.sharedMesh = box; } else if (index % 5 === 2){ //切换mesh sphere.meshFilter.sharedMesh = capsule; } else if(index % 5 === 3){ //...
来源: Laya2.0_文档 发布时间: 20210714
...dex = 0; //.............按钮点击事件 监听 changeMeshButton.on(Laya.Event.CLICK, this, function(){ index++; if (index % 5 === 1 ){ //切换mesh sphere.meshFilter.sharedMesh = box; } else if (index % 5 === 2){ //切换mesh sphere.meshFilter.sharedMesh = capsule; } else if(index % 5 === 3){ //...
来源: Laya2.0_文档 发布时间: 20210715
...t(Rigidbody3D) as Rigidbody3D; })); //施加作用力或冲量 btn_a.on(Event.CLICK,this, function():void{ _rb.applyImpulse(new Vector3(0, 0, -2000)); }) 附件 : --> 3D_DEMO_190402精简.zip 2019-04-17 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20190417
...ld addChildAt addChildren addComponent addComponentInstance addLabel bubbleEvent callLater clear clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponen...
来源: Laya3.0_api 发布时间: 20231115
...3 个回复 zwy363 赞同来自: 谢谢。应该是: layaMonkey.once(Event.HIERARCHY_LOADED, this, function():void{ //获取Animator动画组件 var zombieAnimator = (layaMonkey.getChildAt(0) as Sprite3D).getComponentByType(Animat...
来源: Laya_社区 发布时间: 20180122
...列的加载回调,所以这一行一定会执行。 Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement, reference, 0, 0, reference.width, reference.height]); 3) 而你的代码里并不会执行这一行,你完全拷贝示例代码,会发现是能够播放的...
来源: Laya_社区 发布时间: 20200703
...ve addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event exitFullscreen frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex ge...
来源: Laya3.0_api 发布时间: 20231115
...ddChildAt addChildren addComponent addComponentInstance backToNormal bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...
来源: Laya3.0_api 发布时间: 20231115