• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0106 秒)

631. 取消监听鼠标移动事件,取消不了 [ 75%]

...标移动事件,取消不了 Laya.stage.off(Laya.Event.MOUSE_MOVE,this,null); 第三个参数是函数,不能为null吗?是不是和on绑定时的同一个函数,如果on里面用匿名函数,off第三个参数怎么写? 2018-06-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...

来源: Laya_社区 发布时间: 20180623

632. TypeError: Laya.MovieClip is not a constructor [ 75%]

...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

633. laya.display.AnimationPlayerBase [ 75%]

...果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...

来源: laya_api 发布时间: 20170929

634. laya.ui.View_API3.0 [ 74%]

...区域滚动效果,但scrollRect会保持0,0点位置不变。 default null Returns Rectangle Inherited from Text.viewport Defined in laya/display/Sprite.ts:1885 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染...

来源: Laya3.0_api 发布时间: 20231115

635. laya.d3.core.scene.BaseScene [ 74%]

...eSize : Vector3 四/八叉树的尺寸。BaseScene viewport : Rectangle = null视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...

来源: laya_api 发布时间: 20170422

636. laya.ui.Tree [ 74%]

...果。 矩阵更多信息请参考 Matrix Sprite viewport : Rectangle = null 视口大小,视口外的子对象,将不被渲染(如果想实现裁剪效果,请使用srollRect),合理使用能提高渲染性能。比如由一个个小图片拼成的地图块,viewport外面的小图片将...

来源: laya_api 发布时间: 20170929

637. 事件函数作用域问题 [ 74%]

事件函数作用域问题 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

638. 简单粒子效果,发布成单机版apk在移动端安装运行,结果显示不出来 [ 74%]

...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

639. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 74%]

...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

640. 自定义组件时,设置组件子节点的image的skin时,路径为layaIde的路径而非项目路径 [ 74%]

...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