大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0077 秒)
Laya_社区(2610) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya_示例(83) Laya3.0_文档(76) Laya2.0_示例(45)
...'/> * * style支持的属性如下: * italic:true|false; 是否是斜体 * bold:true|false; 是否是粗体 * letter-spacing:10px; 字间距 ...
来源: Laya_社区 发布时间: 20190815
...。 创建一个 RenderTexture 实例。 Default value create: boolean = true Returns NativeRenderTexture2D Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 _isCameraTarget _isCameraTarget: boolean Implementation of IRenderTarget._isCameraTarget Defi...
来源: Laya3.0_api 发布时间: 20231115
...己。里边的参数destroyChild 是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 资源需要自己用Laya.loader.clearRes清理。 建议:如果只是关闭界面的话直接用removeSelf()从显示列表中移除即可。这个界面彻底不用的...
来源: Laya_社区 发布时间: 20170914
...ue:Number):void 设置透明度。 Graphics clear(recoverCmds:Boolean = true):void[override] AutoBitmap clipRect(x:Number, y:Number, width:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics destroy():void[override] 销毁此对象。 AutoBitmap ...
来源: laya_api 发布时间: 20170929
...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 怎么获得laya.input输入框里面的值 问题状态 最新活动: 2018-08-07 11:29 浏览: 1174 关注: 2 人 Laya_Aaron • 2018-08-07 11:29 父容器很大把鼠标事件挡住了 给view mousethrou ...
来源: Laya_社区 发布时间: 20180807
...a.stage.bgColor='#EEFFCC'; arr=; var sp1:Sprite=new Sprite(); sp1.autoSize=true; sp1.name='sp1'; sp1.graphics.drawRect(0,0,100,100,"#FF0000"); var sp2:Sprite=new Sprite(); sp2.autoSize=true; sp2.name='sp2'; sp2.graphics.drawRect(0,0,100,100,"#0000FF"); sp2.x=110; Laya.stage.addChild(sp1); Laya.stage...
来源: Laya_社区 发布时间: 20170502
...en.to(ape, { "scaleX": 1, "scaleY": 1 }, 500, Ease.bounceOut); isApeHold = true; } /** 鼠标放开后停止hold */ function onApeRelease() { // 鼠标放开时,如果正在hold,则播放放开的效果 if (isApeHold) { isApeHold = false; Tween.to(ape, { "scaleX": 0.8, "scaleY": 0.8 }, 300); } e...
来源: Laya_示例 发布时间: 20241002
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...
来源: Laya3.0_api 发布时间: 20231115
...id{ let mX:number = Laya.stage.mouseX; this.lastMouseX = mX; this.isDown = true; } private mouseUp():void{ this.isDown = false; } public rotate(vec:Laya.Vector3):void{ this.entity.transform.rotate(vec,true,false); } 2018-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20180113
...,{x:100, y:100, scaleX:1, scaleY:1, alpha:1},2000,null,0); timeLine.play(0,true); timeLine.on(Event.COMPLETE,this,this.onComplete); timeLine.on(Event.LABEL, this, this.onLabel); } function onComplete() { console.log("timeLine complete!!!!"); } function onLabel(label) { console.log("LabelName:" + lab...
来源: Laya_示例 发布时间: 20241002