大约有 1,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0147 秒)
Laya_社区(831) Laya3.0_api(384) Laya2.0_api(195) laya_api(183) Laya2.0_文档(39) Laya3.0_文档(18) Laya2.0_示例(2) Laya_示例(2)
...决,当destroy函数调用时会把子节点销毁,所以public function get numChildren(){} 被调用时child为空 所以报错,算是引擎的bug吧,将原函数改为public function get numChildren():int { trace(this); if (!this._childs){ ...
来源: Laya_社区 发布时间: 20170829
...;} this._padding = v; if(this.text){ this.createFnt(this.text); } } public get padding(): number{ return this._padding; } /** * 文本内容 */ public set text(v: string) { if (v === this._text) { return; } this._text = v; this.createFnt(v); } public get text(): string { return this._text; } /** * ...
来源: Laya_社区 发布时间: 20180302
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,...
来源: laya_api 发布时间: 20170929
截屏无法实现 View gameView = mPlugin.game_plugin_get_view(); this.setContentView(gameView); 这个gameView应该就是游戏显示视图,但获取出来是空的,屏幕保存成文件全是黑的 现在不知道用什么方法进行截屏了 2017-04-23 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20170423
...efined in laya/media/SoundChannel.ts:12 声音地址。 Accessors duration get duration(): number Defined in laya/media/SoundChannel.ts:51 获取总时间,单位是秒。 Returns number position get position(): number Defined in laya/media/SoundChannel.ts:44 获取当前播放时间,单位是秒...
来源: Laya3.0_api 发布时间: 20231115
... that this fails on your system: npm ERR! node install.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs electron npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls electron npm ERR! There is likely additional log...
来源: Laya_社区 发布时间: 20171124
...ame(Laya.stage); if (!this._roomId && this.getGets()["roomId"]) { this._roomId = parseInt(this.getGets()["roomId"]); } if (this._roomId) { game.enterRoom(this._...
来源: Laya_社区 发布时间: 20181208
...一次某函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子...
来源: Laya2.0_api 发布时间: 20190513
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的...
来源: laya_api 发布时间: 20170929
...Animation.ts:18 类型,0为whole sheet、1为singal row。 Accessors frame get frame(): FrameOverTime Defined in laya/d3/core/particleShuriKen/module/TextureSheetAnimation.ts:31 获取时间帧率。 Returns FrameOverTime startFrame get startFrame(): StartFrame Defined in laya/d3/core/particleShuriK...
来源: Laya3.0_api 发布时间: 20231115