大约有 793 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0065 秒)
Laya_社区(496) Laya3.0_api(119) Laya2.0_api(72) Laya2.0_文档(29) laya_api(24) Laya3.0_文档(24) Laya_示例(21) Laya2.0_示例(8)
...猴子 ```typescript //监听一次点击事件 Laya.stage.once(Event.MOUSE_DOWN,this,function ():void { scene.addChild(layaMonkey); _layaMonkey = layaMonkey; //设置缩放 var tmpLocalScale:Vector3 = layaMonkey.transform.localScale; tmpLocalScale.setValue(0.3, 0.3, 0.3); layaMonkey.transform.local...
来源: Laya2.0_文档 发布时间: 20210715
...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...
来源: Laya2.0_api 发布时间: 20190513
...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...
来源: Laya2.0_api 发布时间: 20190513
...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...
来源: Laya2.0_api 发布时间: 20190513
...ledMap.scale = 1.1 this.tiledMap.moveViewPort(0,0); 实际的this.tiledMap._viewPortX是50.9,this.tiledMap._viewPortY是39.0,这样的话根本不肯能在继续正常使用moveViewPort了。 看了下代码,在方法__proto.updateViewPort有两个奇怪的计算,见下图 我把这两个计...
来源: Laya_社区 发布时间: 20180324
...你是js写的话就直接用那个方法就可以,如果是as的话用 __JS__('bezierCurveTo')写就可以 2017-11-06 0 2 分享 微博 QZONE 微信 ymsdandan 赞同来自: 建议你先看下二次开发这篇文档,有问题再联系 2017-11-06 0 1 分享 微博 QZONE 微信 为什么被折...
来源: Laya_社区 发布时间: 20171106
...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...
来源: Laya2.0_api 发布时间: 20190513
... TypeError: Cannot read property 'visible' of null at RenderSprite3D.__proto._childs (laya.core.js:6194) at RenderSprite3D.__proto._transform (laya.webgl.js:6730) at Character.__proto.render (laya.core.js:15656) at RenderSprite3D.__proto._childs (laya.core.js:6194) at R...
来源: Laya_社区 发布时间: 20181120
... 这是场景代码/* * 用户扑克界面; */ var Panel1 = (function (_super) { function Panel1() { Panel1.super(this); //this.poke_a.x=0; } Laya.class(Panel1, "Panel1", _super); var _proto = Panel1.prototype; //======================================= //将指定的牌显示到桌面上 //======...
来源: Laya_社区 发布时间: 20180130
...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...
来源: Laya2.0_api 发布时间: 20190513