大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0106 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...标移动事件,取消不了 Laya.stage.off(Laya.Event.MOUSE_MOVE,this,null); 第三个参数是函数,不能为null吗?是不是和on绑定时的同一个函数,如果on里面用匿名函数,off第三个参数怎么写? 2018-06-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180623
...a.TiledMap is not a constructor TypeError: Cannot set property 'pivotX' of null 打开弹窗UI时报错 这个怎么办 laya.core.js:16463 Uncaught TypeError: Cannot read property '_tf' of null [Error] TypeError: null is not an object (evaluating 'this._style._tf') Uncaught TypeError: Cannot read pr...
来源: Laya_社区 发布时间: 20190114
...果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...
来源: laya_api 发布时间: 20170929
...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...
来源: Laya3.0_api 发布时间: 20231115
...eSize : Vector3 四/八叉树的尺寸。BaseScene viewport : Rectangle = null视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...
来源: laya_api 发布时间: 20170422
...果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...
来源: laya_api 发布时间: 20170929
事件函数作用域问题 1. this.btn_Login.on(Laya.Event.CLICK, null, ()=>{ if (this.loginDig) { this.loginDig.removeSelf(); this.loginDig.destroy(); } 2.this.btn_ok.on(Laya.Event.RIGHT_CLICK, this, this.OnBut_Open); OnBut_Open() : void { this.removeSelf(); this.destroy(); } 就是这两个...
来源: Laya_社区 发布时间: 20161202
...aya.loader.load("SnowParticle.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); public function onAssetsLoaded(settings:ParticleSetting):void { sp = new Particle2D(settings); sp.emitter.start(); ...
来源: Laya_社区 发布时间: 20170522
...h 网格。 heightMap: HeightMap 高度图。 Default value name: string = null 名字。 Returns MeshTerrainSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:58 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Nod...
来源: Laya3.0_api 发布时间: 20231102
...protected var _proMask:Sprite; public function HProgressSlider(skin:String=null) { super(skin); } override protected function initialize():void{ super.initialize(); _proMask = new Sprite(); _proMask.graphics.drawRect(0, 0, _progress.width, _progress.height); _proMask.scaleX = 0; _progress.mask = _pr...
来源: Laya_社区 发布时间: 20170327